[NTLUG:Discuss] Default password?

Rick Cook rickcook at sbcglobal.net
Tue Jan 22 22:07:51 CST 2002


On Tuesday 22 January 2002 20:52, kbrannen at gte.net wrote:
> I agree.
>
> Now let me modify the question somewhat and see if anyone knows this
> password question.  Lets say I create a new user, set a default
> password, but want to force the user to change the password next time
> he logs in.  I don't want to set any expiration time range (like he
> must change it every 30 days), I just want him to change it at his
> next log in, be it today or next week.  On Solaris, I'd do that with
> "passwd -f user", but I can find no equivalent for Linux.  Anyone?
>


Excerpt from "man passwd" (manpages version 1.47) =>

       "If you wish to immediately expire an accounts password, you can 
use the -e option.  This in affect can force a user to change their 
password at their next login."


Rick




More information about the Discuss mailing list