sudo and multiple machines

Martin Marcher martin.marcher at openforce.com
Thu Dec 21 09:36:15 UTC 2006


Hello,

quoting from the manpage of sudoers

"
        A Host_List is made up of one or more hostnames, IP  
addresses, network
        numbers, netgroups (prefixed with '+') and other aliases.   
Again, the
        value of an item may be negated with the '!' operator.  If  
you do not
        specify a netmask with a network number, the netmask of the  
host's eth-
        ernet interface(s) will be used when matching.  The netmask  
may be
        specified either in dotted quad notation (e.g.   
255.255.255.0) or CIDR
        notation (number of bits, e.g. 24).  A hostname may include  
shell-style
        wildcards (see the Wildcards section below), but unless the  
hostname
        command on your machine returns the fully qualified hostname,  
you'll
        need to use the fqdn option for wildcards to be useful.

"

Thats all nice and fine but how would I make a generally available  
(single) sudoers file that is asked what commands a user can run?

I know how to define the syntax for it (examples in the manpage are  
quite detailed) but: If i have 2 machines both standard install how  
would i configure them to use the same sudoers file?

thanks
martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2474 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061221/ca2bc7b8/attachment.bin>


More information about the ubuntu-users mailing list