[1728] in RedHat Linux List

home help back first fref pref prev next nref lref last post

NYS strange behaviour

daemon@ATHENA.MIT.EDU (Andrea Dell'Amico)
Tue Oct 29 21:31:26 1996

To: redhat-list@redhat.com
cc: adellam@posso.dm.unipi.it
Date: Tue, 29 Oct 1996 22:08:09 +0100
From: "Andrea Dell'Amico" <adellam@ZIA.ms.it>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Hello,

I have a strange problem with a redhat 4.0 (all patches installed 
following the instructions).

My non standard setup is: 

- two yp servers (Sun with SunOS, sorry :-)) with C2 enabled;
- some linux boxes with shadow passwords and running various flavors 
of nis: old slackware, debian, redhat 3.0.3 (these with the shadow 
rpms and NYS) and a redhat 4.0.

On all of them my solution to make shadow and nis work together is:
* a passwd file with only the standard entries and the  +::::::: when 
needed (not for NYS);
* a complete shadow file built starting from the passwd.adjunct.byname
 map sources, redistributed via rdist on all the linux machines.

On all the linux machine I don't have problems, including redhat 
3.0.3. With 4.0 I can log in via rsh or rlogin, if I have a .rhosts 
file set in the right way. But if I connect via telnet or if I try to 
log from the console, the authentication fails.
If I put the entry for my account in /etc/passwd, all works in the 
right way.

Ah, another thing: I wrote that I have to configure the .rhosts file 
in the right way, but it isn't correct: I have to put the yp server 
name, and not the name of the host from which I connect to the linux 
machine. This isn't a problem for rlogin, but it's a big problem if 
my printer isn't attached to the ypserver. I remember that I found 
the same problem some year ago (libc 4.6.20 or so, with NYS compiled 
in), but I didn't find it in redhat 3.0.3 and libc 5.2.18 so I 
thought it was corrected.

Any hints? Tomorrow I'll try with compat in /etc/nsswitch.conf and 
ypbind to see if the behaviour is different.

Cheers,
andrea



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post