Re: How to disable passwd expiration on Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-12-20 at 14:15 -0500, Tony Nelson wrote:
> At 10:42 PM -0500 12/19/06, Simon Wu wrote:
> >On 12/19/06, Tony Nelson <tonynelson@xxxxxxxxxxxxxxxxx> wrote:
> >> At 1:20 PM -0500 12/19/06, Simon Wu wrote:
> >> >Hello,
> >> >
> >> >I have a Fedora 3 system. The local user account passwd expires every
> >> >few months. How can I disable this?
> >>
> >> I think you want to use usermod to set --inactive to -1.  man usermod.
> >> --
> >
> >Default value for --inactive is -1. I never set this value when the
> >account was created. There is also an -e for account expiration date,
> >not passwd expiration date. This value was default when the account
> >was created. Don't know what is the default value of YYYY-MM-DD.
> 
> Hmm, you're right, that's for expiring the account, not the password.
> Looking further, I see that /etc/shadow contains the days until the
> password must be changed.  For my accounts it is 99999 (about 300 years).

You are certainly the eternal Optimist! Ric

-- 
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net
================================================



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux