LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Restricted Shell in RedHat 6.2 (https://www.linuxquestions.org/questions/linux-general-1/restricted-shell-in-redhat-6-2-a-50784/)

yuzuohong 03-19-2003 11:36 PM

Restricted Shell in RedHat 6.2
 
Hi all,

We have a group of RedHat Server, which contains version 6.2 and 7.2. In RedHat 7.2, I can add some user who can just use restricted bash shell with setting "/bin/bash -r" in his/her ".bash_profile" file. Then I could copy some command files, such as "ping", to his/her home directory so that he/her can use these commands.
But in RedHat 6.2, I couldn't find "-r" parameter in bash. Would you please help me to get a Restricted Shell in Redhat 6.2?
Any help will be appreciated.

zuohong

trickykid 03-20-2003 09:06 AM

You could always upgrade bash to the version on 7.2 or even a later one. It could be a feature that wasn't included on 6.2 when it came out.

Check your versions then check also the man pages for more details.


All times are GMT -5. The time now is 05:43 PM.