  | |  | restrict a normail unix user from going anywhere | restrict a normail unix user from going anywhere 2005-06-21 - By Hari N
Back On 6/21/05, M E Fieu <sibu168@(protected)> wrote: > > Thanks! I actually heard about the sudo method. But could a normal user do > anything harmful or > see any sensitive information in our system. it is for a third party > operator to just restart the > service. Can we restrict a user to just issue a command or not allow it to > issue some command ?
A normal user cannot do anything harmful to the system unless he is provided *root priveleges*. If the requirement is just to restart a service, all you need to do is to make crontab run that command as a user whenever required. Yes, you can restrict the user to issue only that command & he cannot do anything else with that. You can also restrict a user by not allowing him to use a particular command.
-- Hari http://hari.accosted.net -- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |