sudo help needed

Ladner, Eric (Eric.Ladner) Eric.Ladner at
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.


-----Original Message-----
From: sudo-users-bounces at [mailto:sudo-users-bounces at] On
Behalf Of Saravanan A
Sent: Friday, February 20, 2004 9:53 PM
To: sudo-users at
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


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 ?


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now
sudo-users mailing list <sudo-users at>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list