LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   diable linux command from execute for nomal user? (https://www.linuxquestions.org/questions/linux-security-4/diable-linux-command-from-execute-for-nomal-user-452303/)

taiwf 06-07-2006 12:36 AM

diable linux command from execute for nomal user?
 
HI,

I need to grant a user a remote ssh login, but i dont' want him to be able to run ANYTHING except telnet. (not even cd command). Is there any easy way to disable all command for a particular user account?

thx heaps

chris

Matir 06-07-2006 01:28 AM

Look into using rbash, the restricted bash shell.


All times are GMT -5. The time now is 02:04 PM.