Reply To: create users trough shell script from remote server

Home Page Forums Network Management Networking create users trough shell script from remote server Reply To: create users trough shell script from remote server

#48784

olas
Member

this is a Fluvio’s old post
<<
The authentication is based on Kerberos5 and not on the userPassword LDAP attribute. The easier solution is to use the cpw script to set the password. For example to set the fulvio’s password to “fulviopassword” use the following command:

/root/kerbynet.cgi/scripts/cpw fulvio “” “fulviopassword” NOCHECKPW

Now, you just have to write a script that automatically extracts usernames and passwords from the LDIF file and calls the cpw command.

Regards
Fulvio
>>