* Need help using NIS on DU4.0B with C2 security
@ 1998-03-24 5:00 potterveld
1998-03-24 5:00 ` potterveld
0 siblings, 1 reply; 2+ messages in thread
From: potterveld @ 1998-03-24 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need help using NIS on DU4.0B with C2 security
1998-03-24 5:00 Need help using NIS on DU4.0B with C2 security potterveld
@ 1998-03-24 5:00 ` potterveld
0 siblings, 0 replies; 2+ messages in thread
From: potterveld @ 1998-03-24 5:00 UTC (permalink / raw)
In article <6f8tcq$h9r@milo.mcs.anl.gov>, potterveld@axmep1.phy.anl.gov () writes:
|>
|>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:
|>
[SNIP]
AHA, I found the answer to my problems through careful reading of the
security html documentation. I discovered that I needed to add the line
auth=local,yp
to the file /etc/svc.conf. Stupidly, the secsetup script doesn't do this.
This makes the user authentication search both local and NIS protected
password databases. The documentation also says it's important not to have
a password entry in both the local and the NIS databases, because some
utilities will change only the NIS passwords, whereas others (such as
logging in) will use the first database entry that matches, leading to
inconsistent results (at least for the recommended local,yp ordering show above.)
- David Potterveld
\x17
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-03-24 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-24 5:00 Need help using NIS on DU4.0B with C2 security potterveld
1998-03-24 5:00 ` potterveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox