[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nis refusing logins

Pedro Quaresma de Almeida <pedro@mat.uc.pt> writes:
> I have instaled  nis_3.1.deb (with libc6) but I am having problems
> with the non-local users.
> I have the following entry in /etc/passwd
>   +piupiu:*:0:0::/home/merlin/msky:/bin/bash
> but when the user piupiu try to login
>   Debian GNU/Linux 1.3 hilbert.mat.uc.pt
>   hilbert login: piupiu
>   Password: 
>   Login incorrect
> What is the problem (and the solution)?
> I have set the ypdomain correctly, ypwhich finds the correct machine,
> ypcat passwd | grep piupiu finds the correct user, but...

The entry in your /etc/passwd is overriding the yp entry.  Your
/etc/passwd '+' entry should not have the user information, just
"+::0:0:::" - then all users in the passwd map will be included.

Get a copy of "Managing NIS and NFS" from O'Reilly.


William R Ward          Bay View Consulting   http://www.bayview.com/~hermit/
hermit@bayview.com     1803 Mission St. #339        voicemail +1 408/479-4072
wrw@bayview.com       Santa Cruz CA 95060 USA           pager +1 408/458-8862
 PGP Key 0x2BD331E5; Public key at http://www.bayview.com/~hermit/pubkey.txt
"The government of the United States of America is not in any sense founded
upon the Christian Religion." - John Adams

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: