Can't login to NetBSD using YP

Can't login to NetBSD using YP

Post by Curt Samps » Mon, 06 Jan 1997 04:00:00





Quote:>I edited /etc/master.passwd and
>/etc/passwd and made the last line "+:"

Don't do this. Use `vipw' to edit the master.passwd file, and add
+::::::: (or whatever the right number of colons is) to the end of
the file.

cjs
--

Internet Portal Services, Inc.  
Vancouver, BC   (604) 257-9400          De gustibus, aut bene aut nihil.

 
 
 

Can't login to NetBSD using YP

Post by Patrick Crill » Tue, 07 Jan 1997 04:00:00


I am trying to setup yellow pages on a NetBSD system so that users can
log into the machine using the accounts they have on the main UNIX
development machine.

I setup the NetBSD machine to run as a YP client.  ypmatch etc work so
the machine is talking to server okay.  I edited /etc/master.passwd and
/etc/passwd and made the last line "+:"

When I try doing "login" as user "bogus" it fails, even though user
"bogus" is a valid account on the development machine.   A "su bogus"
fails with "su: unknown login bogus".  A "passwd bogus" comes up with
"Changing YP passwd for bogus" so it seems to me as if things should
work okay.

I ran "pwd_mkdb" over the master.passwd file but it doesn't like the
"+:" so I suspect this is the problem.  Anyone know what I am missing
here ?

thanks,
Patrick.

 
 
 

Can't login to NetBSD using YP

Post by Patrick Crill » Wed, 08 Jan 1997 04:00:00


Quote:> Don't do this. Use `vipw' to edit the master.passwd file, and add
> +::::::: (or whatever the right number of colons is) to the end of
> the file.

Did the trick.

thanks,
Patrick.

 
 
 

1. Can't login using yp/nis !

although following instructions in NIS-HOWTO and reading all FAQ's i could
find, i'm still not able to login to my linux machines using

        ypserv-1.2.5
        ypbind-3.3
        yp-tools-1.2

the funny thing is, i can do 'ypcat passwd' and even change users passwords
with yppasswd ... but a normal user isn't able to login! might there be a
problem with these packages in conjunction with the shadow password system?
i only found hints, that it isn't that easy ...

i got 4 linux machines, one is running as the master, the 3 others as
slaves. this part works. the 4 communicate and exchange datas ...

the master is running ypserv and yppasswdd, the three others ypserv and
ypbind.

what could be wrong? why can i change my password as a user (when su'ing
from root) but not login ?

thanx in advance for any hints,

        Harry


  ( o.o )   http://oeh.tu-graz.ac.at/~harry                    | me 4 my
   > ^ <    private  phone: +43 (316) 84 72 73                 | public
   Sally    business phone: +43 (316) 873 5843, fax: 873 5116  | PGP Key

2. make

3. Can't login - YP server not responding?

4. Printing Graphics Help_please

5. NIS,yp, can't login

6. Public domain Unix on CDROM please

7. Can't telnet at my client machine using NIS(YP)

8. multiple system calls

9. It's not bad canned meat...

10. NIS/yp on NetBSD

11. killing background processes when using 'login'

12. "You must 'exec' login from the lowest login shell" - Problem !