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