[Samba] Change password expiry date for ALL users?

Andreas Gredler jimmy at g-tec.co.at
Wed Jun 6 10:50:58 GMT 2007


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?

greets Jimmy

                 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 mailing list