Re: password: howto require a new password when hold is expired

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

 



On Thu, 2004-11-18 at 07:14, Dario Lesca wrote:
> It is possible to require a new password when hold password is expired
> when a user do login with telnet or ssh?
> 
> I have set the expire password via chage command, but when the password
> expire the account is unavaiable and do not require a new password
> 
> Is possible do that? or I must insert some shell script into
> /etc/profile?
> 
> Many thanks, (and sorry for my bad english)
> 
> -- 
> Dario Lesca <d.lesca@xxxxxxxxxx>

Read the man page for chage, it describes how to set the waarning and
expiration for users.  For instance, I set my accounts to force a
password change every 60 days and warn the user 14 days before it fails:

chage -W 14 -M 60 [username]

Hope this helps!
-- 
A: Because people read from top to bottom
Q: Why is top posting bad?

Thomas Cameron, RHCE, CNE, MCSE, MCT


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

  Powered by Linux