From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fed7e3e51835f6dc X-Google-Attributes: gidfee84,public From: potterveld@axmep1.phy.anl.gov () Subject: Re: C2 Security + NIS = Headache. Help ! Date: 1998/06/02 Message-ID: <6l1ch8$ppj@milo.mcs.anl.gov>#1/1 X-Deja-AN: 358851641 References: <35730E1E.330E6FE7@rhea.umd.edu> Reply-To: potterveld@axmep1.phy.anl.gov () Distribution: world Organization: Argonne National Laboratory Newsgroups: comp.unix.osf.osf1 In article <35730E1E.330E6FE7@rhea.umd.edu>, "Jeffrey J. Potoff" writes: |>Ok, I'm trying to get NIS to work with the enhanced security |>subsets and it's not going well. The enhanced security was installed |>pre-NIS, now I'm trying to add NIS so to minimize my work maintaining |>the machines. When I'm in dxaccounts, it lists all the NIS accounts |>as locked. I get a dialogue box that says: |> |>Warning: this user has no extended profile info... |> |>Occurs with user has a /etc/passwd entry, but not a /var/tcb/files/auth.db, |>but I checked and the /var/tcb/files/auth.db entries *do* exist. |>I've been to the DEC website with all the online docs, followed the |>instructions and still have the same problems. |> |>Any ideas (BTW- the is DU4.0b) ? |> |>Thanks, |> Jeff |> It took me a while to figure out how to get NIS to work with C2 enhanced security on DU 4.0. The answer is buried in the html docs. A key step, which is not done by either the NIS or ENHANCED SECURITY setup scripts, is to change the file /etc/svc.conf by adding the line: auth=local,yp (I put this after the entry for services) You also probably don't want local extended profile database entries for the NIS accounts (unless you want different passwords on different machines for these accounts.) I think you can delete the entries with /usr/tcb/bin/convuser -d, but save the file elsewhere (and read the man pages) before trying this. Or, you can convert the file /var/tcb/files/auth.db to the old format using /usr/tcb/bin/convauth -p -O, delete the files in /tcb/files/auth/?/* that you don't want, and convert back to the new-style database files using /usr/tcb/bin/convauth -p. One last tip: I've had problems creating new NIS accounts using the /usr/bin/X11/dxaccounts program. The NIS password maps were not getting properly configured and/or distributed. One symptom was that /tcb/bin/authck would report the new account had no entry returned by getprpwent. Setting the password manually via passwd seemed to cure it. Good Luck... David Potterveld (potterveld@anl.gov)