All I can offer is that I concur with your diagnosis that it is PAM related
- had a similar problem arise after vmware on Slackware reacted badly with a
prior dropline gnome install. The setup was a test one so I simply wiped
and restarted - not much help I know!
On 8/24/06, Niall O Broin <niall at linux.ie> wrote:
>> I have a CentOS 4 (=~ RHES4) box which is a NIS client of a SuSE 9.3
> box, which is behaving very oddly. It is connected to the master -
> ypwhich shows the master's name, ypwhich -m shows the maps, and ypcat
> of a map shows what it should.
>> However, strange things happen on trying to login as a NIS user. I
> can't login on the console - it's as if the password is wrong. I can
> ssh in, but when I do that, /etc/bashrc isn't sourced. It certainly
> feels somehow PAM related, but I'm not sure how. I have run
> authconfig --enablenis --enablemd5 and /etc/pam.d/system-auth
> reflects that - I have
>> password sufficient /lib/security/$ISA/pam_unix.so nullok
> use_authtok md5 shadow nis
>>> These lines from the log
>> Aug 24 19:21:48 pumori login(pam_unix): authentication failure;
> logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost= user=niall
> Aug 24 19:21:51 pumori login: FAILED LOGIN 1 FROM (null) FOR
> niall, Authentication failure
>> Aug 24 19:44:04 pumori sshd(pam_unix): session opened for user
> niall by (uid=0)
>>> show a failed login on the console, and then a successful (to some
> extent) login by ssh.
>>> Any bright ideas?
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!