OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Password expiration in Solaris

From: Glenn M. Brunette, Jr. (glenn.brunettesun.com)
Date: Fri Sep 26 2003 - 14:24:07 CDT


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.