password expire

Tobias Fendin tobias.fendin at telia.com
Thu Jul 21 18:31:32 GMT 2005


Joe Stuart wrote:
> I have a whole group of users with weak passwords. Is there a way that I can force a password change at next login?  
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

"pw usermod [name|uid] -p date" should do the trick.
Check the pw(8) man-page for more details.

    -Tobias


More information about the freebsd-questions mailing list