Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Format of the nsswitch.conf File
Comments in nsswitch.conf Files
Keyserver and publickey Entry in the Switch File
Default Name Service Switch Template Files
Selecting a Different Configuration File
Modifying the Name Service Switch
Enabling an NIS+ Client to Use IPv6 Prior to the Solaris 10 7/07 Release
How to Enable an NIS+ Client to Use IPv6
Ensuring NIS-NIS+ Compatibility With +/- Syntax
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
20. NIS+ Server Use Customization
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
It is possible to include and access password information in multiple repositories, such as files and nisplus. You can use the nsswitch.conf file to establish the lookup order for that information.
In an NIS+ environment, the passwd line of the nsswitch.conf file should list the repositories in the following order.
passwd: files nisplus
In an NIS environment, the passwd line of the nsswitch.conf file should list the repositories in the following order.
passwd: files nis
Tip - Listing files first allows root to log in, under most circumstances, even when the system encounters some network or naming services issues.
Maintaining multiple repositories for the same user is not recommended. By maintaining centralized password management in a single repository for each user, you reduce the possibilities of confusion and error. If you choose to maintain multiple repositories per user, update password information by using the passwd -r command.
passwd -r repository
If no repository is specified with the -r option, passwd updates the repositories listed in nsswitch.conf in reverse order.