Re: NIS su - joe su: Autentication service cannot retrieve authntication info. (Ignored)
On Sat, May 18, 2002 at 08:35:22PM +0200, Robert Rakowicz wrote:
> Christian Jönsson <christian@j-son.org> writes:
>
> Hi,
>
> > I am trying to set up NIS on my Debian Woody SPARC systems.
> >
> > 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)
> >
> > 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 your /etc/nsswitch.conf. Some months ago I had the same
> problem. It was nsswitch.conf.
> nsswitch.conf with "compat" don't work for me. Maybe you have the same
> problem. Now I have in my nsswitch.conf:
> passwd: files nis
> group: files nis
> shadow: files nis
Tried this. Now I can su - Joe... But, trying a gnome login from gdm:
May 19 15:07:49 sparky su[290]: + tty1 root-chj
May 19 15:07:49 sparky PAM_unix[290]: (su) session opened for user chj by root(uid=0)
May 19 15:08:01 sparky PAM_unix[295]: (cron) session opened for user mail by (uid=0)
May 19 15:08:02 sparky PAM_unix[295]: (cron) session closed for user mail
May 19 15:08:16 sparky PAM_unix[259]: check pass; user unknown
May 19 15:08:16 sparky PAM_unix[259]: authentication failure; (uid=0) -> chj for gdm service
May 19 15:08:18 sparky gdm[259]: Couldn't authenticate user
May 19 15:08:28 sparky PAM_unix[259]: check pass; user unknown
May 19 15:08:28 sparky PAM_unix[259]: authentication failure; (uid=0) -> chj for gdm service
May 19 15:08:30 sparky gdm[259]: Couldn't authenticate user
May 19 15:08:53 sparky PAM_unix[294]: (login) session opened for user root by LOGIN(uid=0)
May 19 15:08:53 sparky login[294]: ROOT LOGIN on `tty1'
May 19 15:09:10 sparky su[307]: + tty1 root-chj
May 19 15:09:10 sparky PAM_unix[307]: (su) session opened for user chj by root(uid=0)
May 19 15:09:25 sparky su[311]: + tty1 root-chj
May 19 15:09:25 sparky PAM_unix[311]: (su) session opened for user chj by root(uid=0)
May 19 15:09:42 sparky su[316]: + tty1 root-chj
May 19 15:09:42 sparky PAM_unix[316]: (su) session opened for user chj by root(uid=0)
May 19 15:11:42 sparky su[327]: + tty1 chj-root
May 19 15:11:42 sparky PAM_unix[327]: (su) session opened for user root by root(uid=1000)
Ideas?
Cheers,
/ChJ
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: