Forcing password change on new users...

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Jan 13 14:38:38 UTC 2005


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.
It used to not work without anythign other than rsh and telnet at least
on solaris 2.3. :)

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list