Benjamin Hornberger wrote:
Hi all,
I am having problems getting a NIS system to work on RHEL AS3 (both
client and server). I set up the server and the client, the client finds
the server (ypwhich -m gives all the maps, ypcat passwd shows the correct
password entries), and on the client I can finger users which exist only
on the NIS server. But such a user can't log in.
I would guess it has to do with the password shadowing, so that the
client would find the user but the user's password on the server is not
accepted by the client. Any hints?
Check the /etc/nsswitch.conf file and make sure you have THESE lines
uncommented:
passwd: db files nisplus nis
shadow: db files nisplus nis
group: db files nisplus nis
Make sure these lines are commented out:
#passwd: files
#shadow: files
#group: files
You want the first set to be active to check against the NIS server.
The second group will only check passwords and such against the local
files (which is the default if you did NOT specify NIS during the AS3
installation and added NIS later).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Do not taunt the sysadmins, for they are subtle and quick to anger -
----------------------------------------------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request redhat com
Subject: unsubscribe