Redirected from page "NisHelp"

Clear message

Recently I got to setup NIS for the first time in a mixed Solaris 2.5/8 and Linux environment. Having studiously avoided NIS all my life because of it's gaping security issues it was a little humbling to discover that it wasn't as easy as it had always been made out to be. I also found that Suns docs on their web site were next to useless and most of the stuff that was online was for SunOS not Solaris ... here are my notes. -- AdamShand

Contents

Setting up the Master NIS Server (Solaris 8)

Prepare for NIS

Clean up Makefile

Turn on NIS

Setting Up NIS Client (Solaris 8)

Configure NIS

Convert System to NIS

Adding a NIS Client (Redhat 7.2)

Adding Custom Maps (Solaris 8)

Tips and Tricks

If you create a group with too many members the make will complain and truncate the membership with an error like:

The only way to solve this is to split the membership across multiple groups which share the same GID like so:

Because they all share the same GID when you do an "ls -l" any files group owned by GID 1000 (ie. group1, group2 and group3) will all show up as the first entry in the /etc/group file or "group1".

More Information


CategorySoftware

UsingNis (last edited 2004-01-30 00:06:16 by AdamShand)