[Samba] Change password expiry date for ALL users?
Gerald (Jerry) Carter
jerry at samba.org
Wed Jun 6 13:41:31 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Dave Ewart wrote:
> On Wednesday, 06.06.2007 at 12:50 +0200, Andreas Gredler wrote:
>> I want to set the expiry date for passwords for all users with one
>> command. As --pwd-must-change-time only works for a single user and
>> policy settings are not applied after a change, I was wondering how to
>> solve this. Is the only way to write a script which runs "pdbedit
>> --pwd-must-change-time..." for every user?
> Depending on your password backend, it may be
> easier to attack *that* instead? It would be fairly
> straightforward for LDAP, for example.
Samba 3.0.25 generates the must change time based on
the policy setting so you only need to change the policy
to for example "one day"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba