
November 17th, 2004, 06:28 AM
|
|
Registered User
|
|
Join Date: Nov 2003
Posts: 16
Time spent in forums: 10 m 59 sec
Reputation Power: 0
|
|
|
Using rbash (bash -r)
Trying to set up a restriced shell for a user. Basically they should be able to ls/cp/rm inside a chroot.
The one problem I am having is granting them permissions to the commands in the bash -r shell. From the man page "It behaves identically to bash with the exception that the following are disallowed or not performed:
o changing directories with cd
o setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV"
Which led me to believe that if I set the PATH when logging in I could give them the access to them. But it doesn't work. There isn't too much out there on this - does anybody have any ideas????
|