[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Default password for all users
>>>>> "Michael" == Michael Fuller <fullerms@sr.railnet.gov.in> writes:
Michael> Hello everybody, I am in the process of migrating around
Michael> 600 users from another directory, using LDIF files. I
Michael> want to give a common default CRYPT password to all
Michael> users. How to do this ?
cat users.ldif | sed 's@^userPassword:.*@userPassword: {CRYPT}cryptedpw' > newfile.ldif
should do it... :)
Other than that. If you meant "if the password don't match, look in this
object for second pw to try" this can't be done without modifying ALL
software that needs to do authentication.