> But then when I log in it still uses the local passwd database. I've
> copied the master.passwd file, run the makefile, set all the right flags
> (ypserv & other nis services are running as processes), I just can't
> seem to tie the NIS logon to the logon of the machine. Am I forgetting
> to do something?
your client system is using should contain a "blank" entry... For
example, from /etc/passwd on my Solaris box (which is an NIS client on
my net):
+::::::
And from what you're saying above, it sounds like you may have a user
account of the same name on both your client AND your server machine,
which won't work. When you login to an NIS-enabled system, it checks
the LOCAL passwd file FIRST, then checks NIS if it doesn't find
anything on the local machine. Everything that comes before the
+:::::: entry is considered local-only.
TIP: Also, make sure your NIS server does NOT have any important
passwords/accounts in it. "root" should NEVER be in your NIS-exported
passwd file. Only put in those accounts that need it.
--
-
Michael Maxwell <drwho at xnet.com> | "Four legs good, two legs bad."
UNIX Geek, Programmer, Systems Administrator, Professional Target
<-- This space intentionally left blank.