ldapsearch -h ldap -b ou=people,o=unix,o=toolserver '(&(objectclass=posixaccount)(shadowexpire<=14762))' dn | grep "uid" | sed -e "s/^[^=]*=\([^,]*\),.*$/\1/" | sort
=) 2010/6/3 River Tarnell <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Maarten Dammers: >> I'm suprised someone hasn't published a list of expired accounts yet. > > willow% date2days 2010-06-02 > 14762 > willow% ldapsearch -h ldap -b ou=people,o=unix,o=toolserver > '(&(objectclass=posixaccount)(shadowexpire<=14762))' dn > version: 1 > dn: uid=leon,ou=People,o=unix,o=toolserver > > dn: uid=elian,ou=People,o=unix,o=toolserver > > dn: uid=banane,ou=People,o=unix,o=toolserver > > dn: uid=alterego,ou=People,o=unix,o=toolserver > > ... > > > - river. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (HP-UX) > > iEYEARECAAYFAkwGlMgACgkQIXd7fCuc5vKo0QCgkKXmloUZ7HbrNiEdwS8F/9BD > KaYAnjKLUGNoHCzrQF6yuXqzWn5oy805 > =vc2z > -----END PGP SIGNATURE----- > > _______________________________________________ > Toolserver-l mailing list ([email protected]) > https://lists.wikimedia.org/mailman/listinfo/toolserver-l > Posting guidelines for this list: > https://wiki.toolserver.org/view/Mailing_list_etiquette > -- Nicolas Dumazet — NicDumZ _______________________________________________ Toolserver-l mailing list ([email protected]) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
