SUMMARY- restricting access via NIS

From: Lisa Weihl (lweihl@cs.bgsu.edu)
Date: Mon Jan 26 1998 - 17:21:45 CST


Thanks to Ian MacPhedran, Bruce Rossiter and Brian ? for such quick replies

They immediately had the answer for me (and it was also something I thought
of about 10 min after I sent the message but was out of the office and
couldn't try it).

I forgot to add the user to the /etc/shadow file also. Also Ian mentioned
the need for nsswitch.conf to look like:

passwd: compat
passwd_compat: nis

I had found that in the archives but without the addition to /etc/shadow it
wasn't working.

Thanks for the quick response, this group is great as always!

Lisa

Original post...

> Problem - I have a Solaris 2.5.1 machine setup for a class that I would
> like to restrict login to for a subset of NIS accounts, namely the list of
> students in the class and the instructors.
>
> Our NIS server is a SunOS 4.1.3 system. On the Solaris system I have set
> nsswitch.conf to passwd: compat mode and tried to add my self to the
> Solaris system in /etc/passwd as +lweihl:....etc. and it just always says
> it can't find me. Allowing general login (nsswitch.conf set to NIS) via
> NIS works just fine.
>
> Anybody have any hints on what I'm doing wrong?

******************************************************************
Lisa Weihl, System Administrator E-mail: lweihl@cs.bgsu.edu
Department of Computer Science Office: Hayes 225
Bowling Green State University Phone: (419) 372-0116
Bowling Green, Ohio 43403-0214 Fax: (419) 372-8061



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:30 CDT