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
================================================


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux