How to disable passwd expiration on Fedora

Simon Wu simonwu1 at gmail.com
Wed Dec 20 03:42:07 UTC 2006


On 12/19/06, Tony Nelson <tonynelson at georgeanelson.com> 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.

Thanks a lot.

Simon




More information about the fedora-list mailing list