/etc/passwd & /etc/security/passwd

/etc/passwd & /etc/security/passwd

Post by Tom Youn » Tue, 19 Oct 1999 04:00:00



hi, when i create a new password for a user it shows up in the /etc/passwd
file as :!: and the password is filtered through /etc/security/passwd when
it is referenced.  I would like to serve the password file over NIS but
when clients try to reference the '!', there is no corresponding entry in
/etc/security/passwd.

is there a way to get rid of the "!" and just have the encrypted password
show up in the /etc/passwd file?

or,

is there another way to go about this?    

thanks,

tom young

 
 
 

/etc/passwd & /etc/security/passwd

Post by medaw.. » Wed, 20 Oct 1999 04:00:00


You shouldn't be trying to use a shadowed password file in NIS.
when you run 'make' on your NIS server, the Makefile executes a
'mrgpasswd' on /etc/passwd and /etc/security/passwd so that you
have one central password file.  So the '!' will NOT be an issue
if you're using NIS, just as the 'x' isn't an issue on Solaris
when using NIS.

Mark E. Dawson, Jr.
Collective Technologies
Unix Systems Consultant

In article


Quote:

> hi, when i create a new password for a user it shows up in the
/etc/passwd
> file as :!: and the password is filtered through /etc/security/passwd
when
> it is referenced.  I would like to serve the password file over NIS
but
> when clients try to reference the '!', there is no corresponding entry
in
> /etc/security/passwd.

> is there a way to get rid of the "!" and just have the encrypted
password
> show up in the /etc/passwd file?

> or,

> is there another way to go about this?

> thanks,

> tom young

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

/etc/passwd & /etc/security/passwd

Post by Leonard Sali » Wed, 20 Oct 1999 04:00:00


: hi, when i create a new password for a user it shows up in the /etc/passwd
: file as :!: and the password is filtered through /etc/security/passwd when
: it is referenced.  I would like to serve the password file over NIS but
: when clients try to reference the '!', there is no corresponding entry in
: /etc/security/passwd.

: is there a way to get rid of the "!" and just have the encrypted password
: show up in the /etc/passwd file?

: or,

: is there another way to go about this?    

: thanks,

: tom young

What kind of system are you using for the NIS master?  /var/yp/Makefile on
an AIX system should be using mrgpwd (the full path varies with AIX level)
to merge the information from /etc/passwd and /etc/security/passwd into
what amounts to a temporary "standard" passwd file and the builds the NIS
maps from that.