View Single Post

  #1 (permalink)  
Old 03-07-2008, 04:14 PM
vikas027 vikas027 is offline
Member
User
 
Join Date: Oct 2007
My distro: Linux RHEL 5
Posts: 33
Rep Power: 0
vikas027 is on a distinguished road
Unhappy restrict a user to certain command

Hi all,

I am using Sun OS 5.10. I am new to Unix.

Is there some way to restrict a specific user to certain command say "/usr/bin/more" ??
for example: I want that user1 can execute more command & user2 can't.


Can we somehow edit .profile file in the home directory of user to achieve this ??
OR
is there some other way ??

Pls help.

Thanks N Regards,
VIKAS
Reply With Quote