Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NIS help, please
@ 1994-05-11 23:16 Dale Cook
  0 siblings, 0 replies; only message in thread
From: Dale Cook @ 1994-05-11 23:16 UTC (permalink / raw)


Howdy,

A question for the NIS literates out there amongst you (which I am definitely
not):

I have set up NIS on our new alpha 600S.  It is a slave server.  I would
like to be able to pull passwords only from the master server, and retain
the ability to override things like uid and gid.  So, after running 
ypsetup, I now have a system that sort of does what I want.  That is,
for users defined in /etc/passwd, the local entry takes precedence and
all is fine.  I have placed my own id in /etc/passwd as a "+" entry, 
specifying everything but the password.  The uid in the passwd file is
different than the uid on the master server.  I can log in, using the
password on the master server, so I know the yp part is working.  However,
the system insists that my uid come from the master server as well.  IOW,
it ignores the entry in the local password file.  The ypcat passwd command
doesn't show my id in the password file, yet I can log in.

What am I doing wrong?

Pertinent data:

# uname -a
OSF1 eris02.inel.gov V1.3 112 alpha

# grep cdm /etc/passwd
+cdm::350:15:Dale Cook:/usr/users/cdm:/bin/csh

# touch foo
# chown cdm foo
# ls -n foo
-rw-r--r--   1 767      0              0 May 11 17:07 foo
#

Thanks for any help...

---dale    cdm@inel.gov


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-05-11 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-11 23:16 NIS help, please Dale Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox