[Samba] Change password expiry date for ALL users?
jimmy at g-tec.co.at
Wed Jun 6 20:37:25 GMT 2007
On Wed, Jun 06, 2007 at 01:48:02PM +0100, 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.
Andreas "Jimmy" Gredler
,'"`. http://www.jimmy.co.at/ | jimmy at g-tec.co.at
( grml.org -» Linux Live-CD for texttool-users and sysadmins
`._, http://www.grml.org/ | jimmy at grml.org
More information about the samba