[sudo-users] su except root
benjamin lu
benlu369 at yahoo.com
Fri Oct 6 12:50:34 EDT 2006
post your sudo files here, I may can fix for you.
---------------------------------------------------------------------------
"Penhale, Jeff" <Jeff.Penhale at aig.com> wrote:
Default behaviour of su is to assume you want root, unless a username is
specified.
So "su -", "su" and "su - root" will all do the same thing, whether it's
sudo'd or not. Sudo eliminates the need to enter the accounts password,
which is the expected behavoiur when the commands are run as root, either
directly or through sudo.
Hope this helps
-----Original Message-----
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of ANDREW PISTOCCHI
Sent: Thursday, 5 October 2006 10:45 PM
To: sudo-users at sudo.ws
Subject: [sudo-users] su except root
I have users able to su - as another user using sudo but how can I
exclude them from root? I want them to be able to sudo su as any user
except root. Right now if they type: sudo su and hit they get
the root # prompt. I don't want this.
Is there an easy way to allow them to su to all users except root?
Andy Pistocchi
apistocch at ut.edu
813-258-7422
The University of Tampa
____________________________________________________________
sudo-users mailing list
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users
____________________________________________________________
sudo-users mailing list
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
More information about the sudo-users
mailing list