Question:
How an I set the passwordlength in a school user import?
Answer:
Take a look into the documentation:
http://docs.software-univention.de/ucsschool-import-handbuch-4.4.html#configuration:json_format:userimport
password_ \ length →Defines the length of the random password generated for new users.
Like this:
root@master:/var/lib/ucs-school-import/configs# cat user_import.json
{
"csv": {
"allowed_missing_columns": [],
"header_lines": 1,
"incell-delimiter": {
"default": ","
},
"mapping": {
"Schulen": "schools",
"Passwort": "password",
"Vorname": "firstname",
"Nachname": "lastname",
"Klassen": "school_classes",
"phone": "phone",
"id": "record_uid",
"src": "source_uid"
}
},
"maildomain": "schulen.ucs",
"scheme": {
"username": {
"default": "<:umlauts><firstname>[0].<lastname><:lower>[COUNTER2]"
},
"email": "<:umlauts><firstname>[0].<lastname><:lower>[COUNTER2]@<maildomain>"
}
"password_length": 8
}