Forcing password change on new users...

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Thu Jan 13 15:00:58 UTC 2005


On Thu, Jan 13, 2005 at 09:38:38AM -0500, Lennart Sorensen wrote:
>On Thu, Jan 13, 2005 at 09:23:28AM -0500, William O'Higgins wrote:
>> I am going to be setting up a bunch of new users on a system, and I'd
>> like to force them to change their password the first time that they log
>> in.  Is there an easy way to do that?
>
>passwd -e username
>
>expires the password, forcing a change on login.  Not sure if ssh has
>ever gotten support for that or not.  I haven't tried it in a long time.

That is exactly what I needed.  Why I didn't think to "man passwd" I'll
never know.  This works perfectly via ssh by the way.  Thank you.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20050113/3134c6f4/attachment.sig>


More information about the Legacy mailing list