(no subject)

Todd C. Miller Todd.Miller at courtesan.com
Thu Jul 27 21:01:15 EDT 2000


In message <20000727134042.99821.qmail at hotmail.com>
	so spake "bee cee" (beecee101):

> I have to add about 250 servers to the master sudoers file I have.
> All the servers are in the format
> 
> abc[1-10]-s[01-22].prod.com
> 
> How can I use wild cards for this in Host_Alias section.

Starting with sudo 1.6.2 you can just do:

Host_Alias	MACHINES=abc[1-10]-s[01-22].prod.com

Although you don't need to use a Host_Alias if you don't want to.
If the hostname command doesn't return a fully qualified domain
name on your machine you will need to use the fqdn option (unless
you wish to omit the domain name).

 - todd



More information about the sudo-users mailing list