Article 5QJ75 New server: "user ... does not exist" (passwd - through NIS)

New server: "user ... does not exist" (passwd - through NIS)

by
kaza
from LinuxQuestions.org on (#5QJ75)
Hello!

We had two new servers added at work (RedHatEnt 8.4),
one for "heavy" simulations (lots of RAM, faster) and another
just for GUI (slower, less RAM).
There is a NIS server through which the "hosts" and "passwd" services
are supplyed to all the old and new servers and there is a files
server through which services the files are mounted on each server.

After the initial OS had been installed we started tweaking few syshem files
to get the "ypbind" service on the new servers running and also re-started after
reboot. Also on the NIS server, we added the IPs and names of the two new srevers
and re-created the "ypserve" database and re-started the "ypserve".

After everything worked on the fast new server (login by regular users - OK,
all needed directories mounted) I started performing the same changes on the
slow new server. But for some reason,
even when "ypcat passwd" shows all the regular users, any non-root user attempt
to "ssh" to the slow new server results in "permission denied"
and if I run "su -", perform "ssh" to it and then attempt "su <regular_user_name>"
I'm getting: "user <regular_user_name> does not exist".

I rebooted both the new slow server and the NIS server but the same problem
persists.

I don't quite understand, if the "ypbind" service is running and "ypcat passwd" output
contains the regular users lines, what causes the "su" and "ssh" not to find the
user (non-root)?

TIA,
kaza.latest?d=yIl2AUoC8zA latest?i=5qC-ZFIPiV0:se4I8AxGtpM:F7zBnMy latest?i=5qC-ZFIPiV0:se4I8AxGtpM:V_sGLiP latest?d=qj6IDK7rITs latest?i=5qC-ZFIPiV0:se4I8AxGtpM:gIN9vFw5qC-ZFIPiV0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments