07-12-2021, 01:50 AM
(This post was last modified: 07-12-2021, 02:28 AM by Gribouille.)
The main control is to check '/etc/nsswitch.conf', verify that you have something like : 'passwd: files nis systemd'.
In this situation, all tests must be done in 'console' mode to debug, not with a window manager - you can stop the window manager.
About the 'homedir', local to the Linux (Debian) machine or NFS ? If it's NFS, verify the rights to the homedir.
What's happen if on the Linux machine you are logged as 'root' and make 'su - test' ? An other test, use an other local account, as 'root' and make 'su - <the other account>', and after 'su - test'. If you haven't restricted the root's rights, this a good way to check the password.
During this, in your a console (I use 'tmux' in this case), make some 'tail -F /var/log/< ...>' to find where the password could be rejected.
Some files to observe in '/var/log' : auth.log, kern.log
Update : I suppose that your are working on the same domain name. If you have 'host_one' and 'host_two', the corresponding FQDN is 'host_one.your_domain' and 'host_two.your_domain'. I don't know how works the NIS service if the machines are not in the same domain name.
In this situation, all tests must be done in 'console' mode to debug, not with a window manager - you can stop the window manager.
About the 'homedir', local to the Linux (Debian) machine or NFS ? If it's NFS, verify the rights to the homedir.
What's happen if on the Linux machine you are logged as 'root' and make 'su - test' ? An other test, use an other local account, as 'root' and make 'su - <the other account>', and after 'su - test'. If you haven't restricted the root's rights, this a good way to check the password.
During this, in your a console (I use 'tmux' in this case), make some 'tail -F /var/log/< ...>' to find where the password could be rejected.
Some files to observe in '/var/log' : auth.log, kern.log
Update : I suppose that your are working on the same domain name. If you have 'host_one' and 'host_two', the corresponding FQDN is 'host_one.your_domain' and 'host_two.your_domain'. I don't know how works the NIS service if the machines are not in the same domain name.