Rohit forced the electrons to say:
> Arre there is one that I have. Now if I want to give the different users
> access to different commands, as root, then the format, as you posted,
> does not help too much.

Ok. Setup a few aliases, like:

Cmd_Alias SHELLS=/bin/bash,/bin/tcsh
User_Alias UNTRUSTED=cracker,phreaker

UNTRUSTED ALL=(ALL) !SHELLS

Will not allow the untrusted users to run the shells in the list.

Extrapolate from there. man sudoers for details.

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting.  The site is
at http://botsie.tripod.com/beforeposting/

Reply via email to