Re: Password expiration in Solaris

"Glenn M. Brunette, Jr." <[email protected]>
Newsgroups gmane.comp.security.sun
Message-ID <[email protected]>
Paul,

The /etc/default/passwd settings are only consulted when you change your
password.  Setting the parameter in /etc/default/passwd does not 
automatically configure password aging for users (until their next 
password change).

Of course, you can force the addition of those settings for a particular
user by using the "-x" (max), "-n" (min) and "-w" (warn) options to the 
passwd command.

g

Paul Greene wrote:
> 
> There appears to be two different ways to apply password expiration in
> Solaris; one is the parameters set in /etc/shadow (through admintool or
> command line), and the other is the password parameters set in
>  /etc/default/passwd.
> 
> Which one takes precedence if both are configured?
> 
> PG

---
Glenn M. Brunette, Jr.
Principal Engineer, Chief Security Architect
Sun Professional Services, United States CTO
Sun Microsystems, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.