NIS on SOLARIS

NIS on SOLARIS

Post by Joao Cabra » Thu, 18 Jul 1996 04:00:00



Initially we were using SunOS 4.1.3 and we are using NIS to centralize the password
entries.  To disallow people from loging on to some of our servers we would modify
the /etc/passwd file and remove the NIS entry (+::.... etc) and add some lines like
the following:

+joao
+fcoley

This only allows only the above users and any users defined in the local passwd file
to log on.

Well we deemed it necessary to upgrade to SOLARIS 2.5 or 5.5 and now this does not seem
to work anymore.  Does the NIS used by Solaris differ?  And if so how can I deny people
from logging on to our servers without having to manually add/edit passwd entries everytime
someone changes their passwd.  Any help is most appreciated.

                                                                                Joao C.

 
 
 

NIS on SOLARIS

Post by James Hans » Thu, 18 Jul 1996 04:00:00


Look at the man page for nsswitch.conf and read up on the "compat"
switch...

--

Computer Systems Authority

Check out http://www.freedomstarr.com/HA9085324.rep

 
 
 

NIS on SOLARIS

Post by Charles Stephen » Thu, 18 Jul 1996 04:00:00


 JC> Initially we were using SunOS 4.1.3 and we are using NIS to
 JC> centralize the password entries.  To disallow people from loging
 JC> on to some of our servers we would modify the /etc/passwd file
 JC> and remove the NIS entry (+::.... etc) and add some lines like
 JC> the following:

 JC> +joao
 JC> +fcoley

 JC> This only allows only the above users and any users defined in
 JC> the local passwd file to log on.

 JC> Well we deemed it necessary to upgrade to SOLARIS 2.5 or 5.5 and
 JC> now this does not seem to work anymore.  Does the NIS used by
 JC> Solaris differ?  And if so how can I deny people from logging on
 JC> to our servers without having to manually add/edit passwd entries
 JC> everytime someone changes their passwd.  Any help is most
 JC> appreciated.

This is supported in Solaris 2, but it is not turned on by default.
All you have to do is modify /etc/nsswitch.conf.

Your 'passwd' entry probably looks something like:

passwd: files nis

Change this to:

passwd: compat

Then add this line right after it:

passwd_compat: nis

This implies it will check /etc/passwd.  Then you can use override
operators and for users and netgroups.  Be sure to mirror changes to
/etc/passwd in /etc/shadow (it works the same way).

Enjoy!

cfs
--

Software Engineer (I think)        = "And thus spake the great lawyers:
SunSoft, a SMI Business            =  thou shall not speaketh for Sun or its
Menlo Park, California, USA        =  subsidaries, and disclaim all information
                                   =  hereforth, so they sue you, not us."
Spitting is strictly prohibited.   = THIS SPACE FOR SUBLEASE, reasonable rates.

 
 
 

NIS on SOLARIS

Post by Massimo Cardac » Fri, 19 Jul 1996 04:00:00



> Look at the man page for nsswitch.conf and read up on the "compat"
> switch...

Look also for NISKIT 1.2 (plus jumbo patch)

Max.

--
****************************************************************************
    _/_/       _/_/ _/ _/ _/  | Massimo Cardaci
   _/   _/ _/   _/            | ESRIN - V. G. Galilei I-00044 Frascati

 _/           _/              |
http://www.esrin.esa.it:8080/handy/home.html
  _/           _/
|---------------------------------------------
 _/           _/              | #include <std/disclaimer.h>
_/           _/ _/ _/ _/      | #include <std/nonsense.h>
****************************************************************************

 
 
 

1. Solaris 2.3 NIS+ Upgrade to Solaris 2.5 NIS+ Question!

Has anyone experienced the upgrade process from a Sparc 5 running NIS+,
2.3 to 2.5? The machine in question is the Master Root Server, and the
slave replica is already running 2.5 NIS+.

We're trying to figure out how to upgrade the master to 2.5 and not lose
any of our NIS+ table information, etc.  I'm new to Solaris; have a sub-
stantial amount of experience and formal HP training with the Series 700
HP-UX 8.07/9.01/9.05/10.x operating systems.  Had some exposure to the
old, regular NIS (classroom environment only), but don't know too much
about NIS+ at this point.

I was wondering if anyone knew of a web site or document or FAQ that I
might be able to access to download as a guideline to follow when trying
to tackle this upgrade problem?

Any help would be appreciated!!!



Thanks Alot!!

2. TCP Connection come up halfway, Why?

3. Solaris NIS server and Linux NIS client : problems

4. Upgraded, now X11 won't start

5. Secure NFS under Solaris 2.5/2.5.1 without NIS/NIS+ ?

6. colors with bpp 16

7. Adding linux NIS clients to Solaris NIS+ domain

8. nslookup

9. Linux/Solaris NIS/NIS+

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

11. Solaris 2.5.1 NIS client with a RedHat Enterprise ES release 3 NIS master..

12. Using linux NIS clients with Solaris 2 NIS masters.

13. Solaris 2.7 NIS client cannot log onto RHL62 NIS server