Re: How to disable passwd expiration on Fedora

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

 



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).
If yours are smaller, I think that "chage -E -1" would fix it.  man chage.
-- 
____________________________________________________________________
TonyN.:'    The Great Writ     <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '      is no more.             <http://www.georgeanelson.com/>

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