sudo help needed
Ladner, Eric (Eric.Ladner)
Eric.Ladner at chevrontexaco.com
Mon Feb 23 09:25:34 EST 2004
Install sudo on the other machine and copy the /etc/sudoers file to the
other machine.
The files can be the same (which makes administering easier because one
file controls it all), but they are not shared. You have to distribute
the file yourself.
Eric
-----Original Message-----
From: sudo-users-bounces at sudo.ws [mailto:sudo-users-bounces at sudo.ws] On
Behalf Of Saravanan A
Sent: Friday, February 20, 2004 9:53 PM
To: sudo-users at sudo.ws
Subject: sudo help needed
HEllo All
How can i configure /etc/sudoers as a centralized
configuration file for two machines .
I updated /etc/sudoers file as the following
# Host alias specification
Host_Alias HOSTS = krishna, kaveri
# User alias specification
User_Alias USRS = sara,saran
# Cmnd alias specification
Cmnd_Alias CMDS = /usr/sbin/swlist, /usr/bin/su, /usr/sbin/lanscan
# User privilege specification
USRS HOSTS = NOPASSWD: CMDS
Here, krishna and kaveri are two different hosts on
the network.
I can run the specified commands in krishna
machine(bcos the above /etc/sudoers file is in that
host ). But can't run the commands in kaveri. ( bcos
user privileges r not supporting the mentioned users.
) how to make the above as a centralized configuration
file ?
How can i run the sudo command in another machine ?
Regards,
Saravanan
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
____________________________________________________________
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users
More information about the sudo-users
mailing list