13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Switch File <strong>and</strong> PasswordInformationIt is possible to include <strong>and</strong> access password information in multiple repositories, suchas files <strong>and</strong> nisplus. You can use the nsswitch.conf file to establish the lookuporder for that information.Caution – files must be the first source in the nsswitch.conf file for passwdinformation.In an <strong>NIS</strong>+ environment, the passwd line of the nsswitch.conf file should list therepositories in the following order.passwd: files nisplusIn an <strong>NIS</strong> environment, the passwd line of the nsswitch.conf file should list therepositories in the following order.passwd: files nisTip – Listing files first allows root to log in, under most circumstances, even whenthe system encounters some network or naming services issues.Maintaining multiple repositories for the same user is not recommended. Bymaintaining centralized password management in a single repository for each user,you reduce the possibilities of confusion <strong>and</strong> error. If you choose to maintain multiplerepositories per user, update password information by using the passwd -rcomm<strong>and</strong>.passwd -r repositoryIf no repository is specified with the -r option, passwd updates the repositories listedin nsswitch.conf in reverse order.44 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!