The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2006
Registered User
 

Join Date: Feb 2006
Posts: 36
Privilige

Hello there,
i would like to know if there is a way to limit the access of a user to certain commands....
for example, i have created a new user on my unix server but i would like to limit the user or to avoid him from executing certain commands such as to create a new file using the edit or vi command, to perform switch over in the system or even to restart the server......
is there any way to do that?

furtheremo,re how can i record all the commands that a certain user have entered?..i mean the command itself and the time of execution...

Thanks.....
Reply With Quote
Forum Sponsor
  #2  
Old 04-26-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,295
Do you know about restricted shells? That may be what you want. rksh is the restricted version of ksh, and so on.
Reply With Quote
  #3  
Old 04-26-2006
Registered User
 

Join Date: Feb 2006
Posts: 36
Hi there,

i have a little idea about ksh but its my first time to hear about the rksh, i am not that expert in unix...but let me ask u one question, when i add a new user to the unix server i can specify what type of shells he can use, now do u mean that i have to specify the rksh for that user and thats it?? or there is something else i have to do???

sorry if my questions look silly but i need to know these information and would be happy if u can help.

thanks again.....
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0