yp/nis login.access ???

yp/nis login.access ???

Post by Greg Moncreaf » Wed, 26 Nov 1997 04:00:00



1 machine client, 1 machine server
ypbind                  ypserv

on client ypcat works fine, gets hosts (/etc/hosts.conf) etc
but doesn't do logins. [when i run ypserv in debug mode, it
looks like it wasn't even sent a message for the login]

is there some other conf file that tells login to yp/nis?

/etc/login.access looks suspicious, but it doesn't seem to be
        referred to in a yp manpage and the format hint doesn't
        seem to work

note: yp/nis doesn't seem to be in the faq/handbook and
        its manpages haven't been updated WRT the
        sysconfig/rc.conf changes.
--
==============================================================

Raytheon Electronic Systems             1-508-490-2086 (Phax)

->"this is my personal opinion and not that of my employer."<-

 
 
 

yp/nis login.access ???

Post by Greg Moncreaf » Thu, 27 Nov 1997 04:00:00


also there seems to be some trouble with '/etc/netgroup'
1. there is no example file, so that when yp_mkdb complains
   about missing whitespace, and given the manpage confusion
   about spaces/commas as separators for the tuples how can
   you tell whats wrong
2. '/var/yp/Makefile' doesn't build maps for netgroup automatically
3. non enough manpage 'see also's from more obvious 'yp' manpages

is there a 'cookbook' approach to this? something like:
set nis_?? in /etc/rc.conf to ??
edit /etc/??? and add line ???
...

rather than the obscure "a special '+' entry to the appropriate file'

> 1 machine client, 1 machine server
> ypbind                  ypserv

> on client ypcat works fine, gets hosts (/etc/hosts.conf) etc
> but doesn't do logins. [when i run ypserv in debug mode, it
> looks like it wasn't even sent a message for the login]

> is there some other conf file that tells login to yp/nis?

> /etc/login.access looks suspicious, but it doesn't seem to be
>         referred to in a yp manpage and the format hint doesn't
>         seem to work

> note: yp/nis doesn't seem to be in the faq/handbook and
>         its manpages haven't been updated WRT the
>         sysconfig/rc.conf changes.
> --
> ==============================================================

> Raytheon Electronic Systems             1-508-490-2086 (Phax)

> ->"this is my personal opinion and not that of my employer."<-

--
==============================================================

Raytheon Electronic Systems             1-508-490-2086 (Phax)

->"this is my personal opinion and not that of my employer."<-

 
 
 

yp/nis login.access ???

Post by Greg Moncreaf » Thu, 27 Nov 1997 04:00:00


the saga continues:
i added a +:....
entry on the client with vipw, found this from the linux-howto
now ypserv -d shows the userid lookup, but the login still
doesn't work

what next!
--
==============================================================

Raytheon Electronic Systems             1-508-490-2086 (Phax)

->"this is my personal opinion and not that of my employer."<-

 
 
 

yp/nis login.access ???

Post by Bill Pa » Thu, 27 Nov 1997 04:00:00


Daring to challenge the will of the almighty Leviam00se, Greg Moncreaff

: 1 machine client, 1 machine server
: ypbind                        ypserv

: on client ypcat works fine, gets hosts (/etc/hosts.conf) etc
: but doesn't do logins. [when i run ypserv in debug mode, it
: looks like it wasn't even sent a message for the login]

: is there some other conf file that tells login to yp/nis?

You have to add +::::::::: to the end of /etc/master.passwd using
vipw(8).

: /etc/login.access looks suspicious, but it doesn't seem to be
:       referred to in a yp manpage and the format hint doesn't
:       seem to work

: note: yp/nis doesn't seem to be in the faq/handbook and
:       its manpages haven't been updated WRT the
:       sysconfig/rc.conf changes.
: --

You are not looking in the right man pages.

% man 5 passwd
% man pwd_mkdb
% man vipw

That tells you all about how to (and how _not_ to) enable NIS logins.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu


=============================================================================
  "Now, that's "Open" as used in the sentence "Open your wallet", right?"
=============================================================================

 
 
 

1. Login to NIS (yp) client as user shows $USER as root!

I've just setup NIS (yp).  When I login to a NIS client (workstation) as a
user defined in /var/yp/files/passwd and shadow, my environment shows that
i'm root ($USER).

If I login to the NIS server (master) as a NIS user my $USER is correct.

On the NIS client: echo $LOGNAME returns the correct value.  The group, gid
and uid are correct.

How do I fix this?

(I'm not NISing... yet:
timezone
auth_attr
exec_attr
prof_attr
user_attr
audit_user)

2. Netscape Mail instead of Pine

3. Can't login using yp/nis !

4. slrnpull and modem problem

5. NIS/YP: local user cannot login

6. Need help binding more than 1 IP to a Nic

7. YP,NIS,user logins

8. DHCPD: is this possible ? ( 2-subnets,1-wire,known/unknown)

9. NIS,yp, can't login

10. NIS+ in YP-Compat mode: Restrict access to passwd/shadow How?

11. Reasonable nis security between Solaris & Linux (was Re: Is nis (yp) a security worry?

12. NIS, NIS+, named, yp, ...

13. Nis+ and NIS (YP) compatibility