sudo help needed

Saravanan A sara_kovai at yahoo.co.uk
Fri Feb 20 22:52:43 EST 2004


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



More information about the sudo-users mailing list