On Sat, May 18, 2002 at 12:22:36PM +0200, Christian J?nsson wrote: > On Sat, May 18, 2002 at 10:04:37AM +0000, Miquel van Smoorenburg wrote: > > In article <[EMAIL PROTECTED]>, > > Christian Jönsson <[EMAIL PROTECTED]> wrote: > > >Following nis.debian.howto using shadow passwords I end up > > >with this problem. I cannot login on any virtual console on > > >a NIS client host. > > > > > >If I login as root on the NIS client host, and try su - joe > > >(assuming joe is in the NIS master host users) I get this > > >behaviour: > > > > > >su - joe > > >su: Authentication service cannt retrieve authentication info. > > >(Ignored) > > > > That sounds suspiciously much like a PAM message > > I see. You wouldn't say it was shadow passwd related? > > > >but I het the user Joe account, with the right UID/GID, the > > >right username translation from UID, the right group name > > >translation from GID... > > >I wonder what is wrong? How do I "debug" this to track down my error? > > > > Check /etc/pam.d/su and /etc/pam.d/login etc > > Will do that then.
well, they're there... > > > Perhaps you have only pam_pwdb loaded; I don't think it uses > > getpwnam() but rather reads /etc/passwd directly, which > > isn't going to work. You need pam_unix > > hmm, how do I check whether I have pam_unix or not? there's a pam_unix there... trying to login via xdm, I get this log message: May 18 15:09:39 May 18 15:21:33 sparky PAM_unix[802]: authentication failure; (uid=0) -> Joe for xdm service > I'm on a SPARC Woody system, might it be SPARC port releted? > > Cheers, > > /ChJ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]