Re: Password expiration in Solaris
From: Darren J Moffat (Darren.Moffat_at_Sun.COM)
Date: 09/29/03
- Previous message: Glenn M. Brunette, Jr.: "Re: Password expiration in Solaris"
- In reply to: Paul Greene: "Password expiration in Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Sep 2003 09:31:18 -0700 (PDT) To: Paul Greene <techlists@comcast.net>
On Fri, 26 Sep 2003, 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.
The values in /etc/default/passwd are the defaults to be applied to
accounts that have no aging information on the next password change
(including the first setting of the password on a new account).
The values in /etc/shadow are the per user values.
> Which one takes precedence if both are configured?
If there are already entries in /etc/shadow for the account those values are
preserved. If there are no entries AND /etc/default/passwd has values for
MINWEEKS, MAXWEEKS, WARNWEEKS then those are added to the entry in /etc/shadow
when that users password is changed, they witll take effect from that
moment onwards.
-- Darren J Moffat
- Previous message: Glenn M. Brunette, Jr.: "Re: Password expiration in Solaris"
- In reply to: Paul Greene: "Password expiration in Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|