| Nevis Linux Cluster Authentication | This web page contains a discussion of how user authentication is handled on the Nevis Linux cluster. |
| The Basics |
In simple terms, "user authentication" means who is allowed to log on to a machine in the Linux cluster.
The cluster shares a common list of account names, passwords, and home directories. Your password and home directory will be the same on any machine on which you can log in. (Home directories are shared between systems using automount.)
If you want to change your password on the cluster, you must use the yppasswd command. This will change your password on every machine on the entire cluster, not just the system you're on.
However, not every user is allowed to log in to every machine. Typically, only members of the group who own a system can log in to it; only ATLAS collaborators can use the ATLAS clients and servers, only neutrino collaborators can use the neutrino systems, and so on.
| NIS |
To go beyond the basics, you have to learn something about NIS, or Network Information Services. (This used to be called "yellow pages", which is why all the NIS commands begin with "yp".)
Basically, NIS is a way of sharing files across a network. If you'd like to list a files shared by the Linux cluster, use the command
What happens if the NIS master computer goes down? Chaos would ensue -- which is why there are backup copies of the NIS files stored on other machines ("NIS slaves"). As long as at least one master or slave system is running, NIS will continue to function on the entire cluster. To see a list of all the NIS slaves, use the command
On a UNIX system, the list of user accounts in stored in the file /etc/passwd. To see who can log in to a particular machine, use the command
So who is in these "netgroups"? To find out who is in the group atlas-users, for example, use the command
Note that using NIS greatly simplifies administration of the cluster. A user has only one account name, password, and home directory throughout the cluster. If a user is added to a netgroup, they automatically have access to all that group's machines on the cluster. The administrators can control access to a machine on an individual level (e.g., user "jsmith" can only access machines A, B, and C) or on the group level (e.g., this machine can be accessed by anyone in ATLAS and anyone in eBubble).
to the Nevis Computing Page.
to the Nevis Home Page.
Send any comments or questions to the
webmaster.