>i need to set up common login files across about 12 machines (all ultra
>10 and Blade 1000) and someone mentioned NIS as a possible way to do this.
>however, it is possible to do this with NIS, but there has to be an easier
>way to do this.
NIS is meant for exactly this purpose. Actually, so is NIS+. You
probably want to use NIS+, since NIS is very old. (Then again, you may
mean NIS+ when you say NIS, since the names are so similar.)
Anyway, any other solution besides NIS, NIS+, or LDAP will have to be
something you build yourself. I think you can see why learning NIS+
would be easier. NIS+ really isn't that hard to learn if you have some
experience with databases. It does have some quirks and confusing
areas that you'll just have to work through, but it is possible to get
it working. :-)
Quote:>i need the account to log into the main server (Blade) and have a home
>directory there while having the power of the ultra 10 that they are logged
To do that, you'll want to choose where the home directory should be
physically located and then plan to use NFS to share that directory to
all the rest of the machines. If you use the automounter, you can make
it so any machine will mount any home directory from the appropriate
place as needed.
Quote:>someone also mentioned making the /etc directory a NFS directory common to
>this could work too,
Not really. It won't work because there are important files in /etc
that have to be different for different machines. For instance,
/etc/nodename contains the machine's name.
To summarize, what you need to do is the following:
1. Create an NIS+ server.
2. Put all your network accounts (i.e. /etc/passwd) entries in it.
This doesn't include users like "root"; just users you have added.
3. Set up all your clients to refer to the NIS+ information by
using "nisclient" so they can get access to it and editing
/etc/nsswitch.conf so they choose to refer to it.
4. Set up your home directories somewhere, and export the filesystem
them to every machine using NFS.
5. Set up the automounter so that clients will mount the home
directories everywhere as needed.
This is a pretty complex and involved process, but once you get it
going, then things become pretty nice. If you want to do it yourself,
I suggest you go to http://www.veryComputer.com/
there, especially the system administration guide. There's enough
information there for you to figure out how to do it, but it might take
a while to digest it all.
"Our grandkids love that we get Roadrunner and digital cable."
(Adverti*t for Time Warner cable TV and internet access, July 2001)