KEW.MEDIA.MIT.EDU is the master server for our domain, "bhg". FINCHLEY and SOUND are slave servers (meaning that users can continue to log in even if KEW is down, otherwise a nasty vulnerability). The master password file is kew:/etc/passwd.yp, but normally you wouldn't have to touch it. You should be able to change your password on any machine using the command 'yppasswd'.
The one time you do need to work on the master passwd file directly is when you are setting up accounts for new users. There are instructions on how to do that here.
Once you have edited sudoers, you need to copy it to all the other machines. Note that sudoers is normally mode 004, meaning that it is only readable by root. To distribute, I normally make a copy of it, e.g. in /net/sound/usr/tmp/sudoers, then make that world readable. Then I run, as root, a script of the following form:
% foreach f (`cat ~dpwe/.bvg-hosts`) # /net/kew/usr/people/dpwe/.bvg-hosts
# is a list of our machines
> echo $f
> rsh $f "cp /net/sound/usr/tmp/sudoers /etc; chmod 004 /etc/sudoers"
> end
Actually, that doesn't work on about half the machines (their /.rhosts,
/etc/hosts and /etc/hosts.equiv do not all contain KEW, so I cannot
rsh root commands onto them) but you get the idea.
Back to Machine Listening Group home page