5: Advanced Configuration
5-14 Alterpath BladeManager Manual
User Authentication
To use NIS only to authenticate users, change the lines about passwd, shadow
and group in the configuration file (/etc/nsswitch.conf) as described below.
The BladeManager does not support user authentication against a NIS map
and the local file (/etc/passwd) at the same time. Either the user is present in
the NIS map or in the passwd file, but not both. The BladeManager will not
even allow you to add a user in the local database if the user is already present
in the NIS server.
The configuration below enables the system to authenticate NIS users and
local users.
Authenticate the user first through the local database and if the user is not
found, use NIS.
passwd: files compat
shadow: files compat
group: files compat
passwd_compat: nis
shadow_compat: nis
group_compat: nis
Authenticate the user first through NIS and if the user is not found, use the
local database.
passwd: compat files
shadow: compat files
group: compat files
passwd_compat: nis
shadow_compat: nis
group_compat: nis
Authenticate the user first through NIS, and if the user is not found or the NIS
server is down, use the local database.
passwd: compat [UNAVAIL=continue TRYAGAIN=continue] files
shadow: compat [UNAVAIL=continue TRYAGAIN=continue] files
group: compat [UNAVAIL=continue TRYAGAIN=coninue] file
passwd_compat: nis
shadow_compat: nis