Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ingr!b11!rickh From: rickh@b11.ingr.com (Rick Hopkins) Newsgroups: comp.protocols.nfs Subject: NIS (YP) questions Keywords: NFS/NIS Message-ID: <9101@b11.ingr.com> Date: 17 Oct 90 16:59:50 GMT Organization: Intergraph Corp. Huntsville, AL Lines: 36 When using NIS, can you override the password, uid, and gid fields in the password file for NIS users? If you can override these fields, doesn't that defeat the purpose of NIS? I believe you can override the comment, login directory, and shell fields. Example of passwd file . (local users) . +yp1::::yp1 user:/usr2/yp1:/bin/ksh +yp2:abc123::::: +yp3::12345:::: +yp4:::1000::: +:::::: Where: yp1 will have yp1 user in the comment field, /usr2/yp1 in the dir field, and /bin/ksh in the shell field regardless of the information in the NIS maps. yp2 will have an encrypted password in the password field regardless of the NIS maps. yp3 will have 12345 in the uid field regardless of the NIS maps. yp4 will have 1000 in the gid field regardless of the NIS maps. The rest of the NIS users will get there info via the maps. Rick Hopkins b11!seminole!rick@ingr.com