[Samba] User Must Change Password On Next Logon
idra at samba.org
Sun Dec 18 10:02:23 GMT 2005
On Fri, 2005-12-16 at 17:20 +0100, Emanuele wrote:
> you can write this:
> pdbedit --pwd-must-change-time=1134732000 'username'
> P.S.: 1134732000 is the time (sec) starting at 01/01/1970, in this
> case, the user 'username' must change his password after the
> 16/12/2005 12:20.
Do you know you can use a readable time format too ?
pdbedit --time-format="%Y/%m/%d" --pwd-must-change-time="2005/12/18" "username"
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba