From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,2e26a37fddb9cbc5,start X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,2e26a37fddb9cbc5,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-11 17:01:23 PST Newsgroups: comp.unix.osf.osf1,comp.unix.ultrix Path: bga.com!news.sprintlink.net!hookup!swrinde!news.dell.com!pmafire!cdm From: cdm@pmafire.inel.gov (Dale Cook) Subject: NIS help, please Message-ID: <1994May11.231612.8189@pmafire.inel.gov> Date: Wed, 11 May 94 23:16:12 GMT Organization: WINCO Xref: bga.com comp.unix.osf.osf1:1536 comp.unix.ultrix:1919 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