From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,db1ea6f7f36d79ee,start X-Google-Attributes: gidfee84,public From: potterveld@axmep1.phy.anl.gov () Subject: Need help using NIS on DU4.0B with C2 security Date: 1998/03/24 Message-ID: <6f8tcq$h9r@milo.mcs.anl.gov>#1/1 X-Deja-AN: 337246859 Distribution: world Organization: Argonne National Laboratory Reply-To: potterveld@axmep1.phy.anl.gov () Newsgroups: comp.unix.osf.osf1 I'm having trouble getting NIS to work for DU 4.0B with C2 enhanced security. Previously, this has worked fine for me with DU 3.2. Here's what I'm doing: I start with an NIS master in BASE security, with one NIS account. This works normally. I then use /usr/sbin/secsetup to convert to ENHANCED security. This prompts me about adding local extended profile (password) data for the NIS account(s). According to the help therein, this is optional to speed logins, and if done, requires sharing /tcb/files and /var/tcb/files via NFS *or* serving the data there via NIS in order to preserve network-wide passwords. Problem 1: The NIS account seems to be unusable on the NIS master if I don't create the local extended password data. Logins don't work, and I can't change the password from root using "passwd". Is it possible to use NIS+C2 without local extended profile data, as secsetup suggests? How do I do this? Problem 2: OK, I tried creating the local extended profile data on the NIS master. BTW, I'm still using the old-format database, ie, the local extended profile data is stored in /tcb/files/auth/*/* The NIS account is now usable on the NIS master, but with a catch: Changing the password via "passwd" changes the entry in the local profile (/tcb/files/auth/* entry), but doesn't change the entry served by NIS (/var/yp/src/prpasswd unchanged). Alternatively, using "dxaccounts" to change the password does change the prpasswd entry, but doesn't change the local entry in /tcb/files/auth. It turns out that the local entry is the one being used by login authentication, and the NIS prpasswd is irrelevent (at least on the NIS master). I haven't even gotten as far as seeing what happens on an NIS client. My basic question is: Can I use NIS to distribute and maintain network-wide passwords on DU 4.0B with C2 enhanced security turned on, and how do I do it? Can anyone help? David Potterveld