I spent a long time trying to find out why I can't log on using NIS Domain.
I installed all the necessary packages, modified all the files and started all the services (I think) but it doesn't work.
This is the current situation:
- On the login screen I can see all the users who are part of the NIS domain, including myself.
- When I select my user and type my password the login is refused
- The command ypwhich gives me the correct domain name
- ypcat password | grep myusername shows my username and the hash password
- I modified: /etc/passwd, /etc/group and /etc/shadow as well as nsswitch.conf
- yptest -u myusername reports All tests passed
- su -l username reports su: incorrect password
I am totally out of ideas now.
Could please one of you guys tell what I missed?
I am thinking that it could be an issue with password encryption, maybe? MD5 vs ??
From the NIS hash password I can see that the server is using MD5 encryption, so I changed something about how password are generated for new user to match this encryption but it still not working.
I don't know any more.
OS: PCLinuxOS 2012