LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-26-2004, 10:32 AM   #1
blindgren
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Rep: Reputation: 0
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
 
Old 06-26-2004, 10:45 AM   #2
blindgren
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Original Poster
Rep: Reputation: 0
I got it

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

"enable -n cd" disables the use of the cd command
 
Old 06-26-2004, 11:29 AM   #3
blindgren
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Original Poster
Rep: Reputation: 0
My bad I didn't get it that was only for builtin shell commands
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hdparm ATA security commands, wheres public cvs? flipper333 Linux - Security 1 10-18-2005 03:52 AM
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
quick guide on knowing what to disable for system security skitzo2005 Slackware 10 10-05-2005 10:27 AM
Can disable file transfer in Gaim for Security? little_penguin Linux - Software 4 07-23-2005 01:23 PM
How to disable X security permanently danishmr Linux - Security 15 04-09-2004 02:16 PM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration