LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   User Security (Disable Commands) (https://www.linuxquestions.org/questions/debian-26/user-security-disable-commands-197941/)

blindgren 06-26-2004 10:32 AM

User Security (Disable Commands)
 
Any ideas on how to disable certain commands for a certain user? i.e. disable the use of ls, cd, vim, less, directory browsing for user "test". Trying to lock down a ssh shell. Thanks

blindgren 06-26-2004 10:45 AM

I got it

"enable -a" shows commands that the user can execute.

"enable -n cd" disables the use of the cd command

blindgren 06-26-2004 11:29 AM

My bad I didn't get it that was only for builtin shell commands


All times are GMT -5. The time now is 10:54 PM.