|
|
|
Superuser/NFS Privileges |
UNIX at SLAC Security at SLAC |
| Updated: 6 Oct 2006 |
|
|
Certain privileges associated with the superuser or root account are needed to administer and maintain a UNIX system. This form constitutes an agreement between the submitter and SCS to share the privileges on, and thus the responsibility for, such a system. There are two primary reasons why you might want to request such shared responsibility:
In either case, you will need to install and run a program called Taylor. Taylor normally runs once a day (though other schedules are possible) and is the primary tool used by SCS to do all UNIX (and Linux) system administration. If you do not want assistance from SCS in maintaining your UNIX system and do not require access to NFS, you need not submit this form. Nevertheless, you are responsible for maintaining the security of any UNIX workstation which you attach to the SLAC network, since any break-in on your machine threatens every machine at SLAC. We recommend, therefore, that anyone with superuser privileges on a SLAC machine read and comply with the security requirements discussed below. Overview of Superuser PrivilegesEvery UNIX system has a superuser account with a UID of zero and a username of root. This account is considered to be trusted and is therefore allowed to bypass the usual security features of the operating system in order to perform administrative and maintenance operations. There may be additional accounts with UID 0 which have, for most purposes, the same privileges as root.One can invoke superuser privileges by logging in as root or by using the su command to become root temporarily. However, both of these methods require that you know the root password, which has several drawbacks:
The sudo command provides a useful alternative:
Overview of NFS SecurityWhen files are shared via NFS, the various systems involved must be administered in a coordinated fashion to preserve the integrity of the files and the security of the hosts. To ensure such coordination, we restrict access to SLAC's central file servers to hosts meeting certain requirements. In order to enforce the normal UNIX user- and group-based access rights to files, it is essential that an NFS server and all its clients share consistent user and group databases. Most systems at SLAC use our centrally-maintained NIS user and group files, with AFS authentication, for this purpose. However everyone with superuser privileges on an NFS client machine can, potentially, add or override user accounts on that machine; they can also compromise the security of that machine, permitting a malicious intruder to attack files on the NFS server as well as on the compromised client. For these reasons, we require that everyone with such privileges on an NFS client system must submit this form to acknowledge that they have read and understood these conditions and agree to abide by them. Strictly speaking, ensuring consistent user and group databases is only necessary on NFS client machines. However, it's a good idea on all SLAC machines and is not particularly difficult to implement if everyone follows the local account rules below. We therefore require it on all machines running Taylor, even if they do not happen to be NFS clients. Guidelines for Requesting Superuser PrivilegesBefore requesting superuser privileges we suggest you think a bit about whether you really need them. If UNIX system administration is not an important part of your job description, and if you have no special requirements that are likely to require such privileges, we recommend that you let us manage your Linux workstation for you. Learning about system administration in UNIX, tweaking the operating system in various ways, and taking care of routine maintenance tasks such as installing security patches can take a lot of time. Moreover, to the extent that you customize your system, you make it more difficult for us to monitor SLAC systems for security, reliability and performance or to assist you when you run into trouble. If you decide you don't really need superuser privileges but do need NFS access, you can use the simpler Non Superuser/NFS Access Request form instead of this one. If you nevertheless feel that you need superuser privileges in order to get your work done, the next question is whether you need to know the password for the root account or only need certain sudo privileges. SCS strongly recommends that you only request sudo privileges. As long as AFS authentication is working, a user with sudo ALL should be able to do anything root can do except attempt to recover from a corrupted system disk; and since the introduction of journaling filesystems, such problems are extremely rare. Even if you really do need root, you should consider requesting sudo as well and using it instead of the root password whenever possible. If you only need the ability to run a few privileged commands, e.g., mount and umount, please consider requesting sudo for a subset of commands instead of sudo ALL. As a general rule, SCS grants superuser privileges to the primary user and/or the system administrator of a system (or a small number of their designees), as listed in our CANDO database. You can find out who is currently listed in these roles for your system by issuing the command, node -long host-nameIf this information is not correct, please submit a CANDO update request before submitting this form. SCS also requires that the password for any account with special privileges must be changed at least every 6 months. If you are requesting sudo privileges and have not recently changed your password, please change it via the password command before submitting this form. To request superuser privileges on a UNIX system (or a group of systems), or to notify us that you already have such privileges, please fill out and submit the following form. The form should be filled out by each person who has or is to receive the privileges since it constitutes an agreement to abide by the conditions outlined on this page. If the system has, or is to receive, a private root password, each person who knows the password should fill out the form. If you are not the primary user or system administrator for the system(s), you should ask one of those individuals (or the group czar) to send mail to unix-admin to approve the request. Please ask them to include an explanation of why you need the requested privilege and what your role is with respect to the system. To avoid delays in processing the form, please be sure to complete each non-optional field and answer every question.
NotesThe following notes are intended to clarify and elaborate some of the specific points in the agreement above. Guarding PasswordsYou should guard the secrecy of all passwords, especially those with super user privileges.
Maintain SecurityYou must maintain the system with a reasonable degree of security, as determined by SCS. This requirement may include but is not limited to, such things as regularly installing security patches, removing or disabling local accounts when users leave SLAC, reporting suspicious activities to SCS, etc. Taylor automates many routine security measures. However, some tasks (e.g., those requiring a reboot) cannot be completely automated. Every user with superuser privileges for a system has an affirmative responsibility to maintain the security of that system. Installing TaylorIf SCS has never before been given any superuser privileges on your system, you may need to do the initial Taylor installation yourself. Please indicate if this is the case in the Additional Information field and we will send you instructions. Local Account RulesTaylor normally sets up your machine to run NIS. there is a taylor option to turn off NIS in some special situations, but we strongly recommend that you run NIS and use our NIS passwd and group files to define all or most of the accounts needed on your machine. Warning: you should be aware that the rules described in this section, if conscientiously applied on all client machines, should protect files owned by accounts in NIS, but will do nothing at all to protect any files on the server owned by local accounts on the various clients.
Note that it is possible to restrict access to your machine to a subset of the accounts or groups in NIS. It is also possible to override some, though not all, fields from the NIS entry for a particular account. However, if you do use our NIS passwd file, you will need to ensure that your users can access either their central home directories, or local home directories using the path specified in that file. You may also need to install one of the popular alternative shells, such as tcsh or bash, that might be needed by some of your users. If you need to make any changes to the local passwd or group files you must obtain agreement from all of those with superuser privileges on the machine to all of the following requirements:
Contact Information:
|