
sophomorix-passwd modifies passwords in the AD

Options
  -h  / --help
  -v  / --verbose
  -vv / --verbose --verbose
  -i  / --info

Cloning a password-hash (unicodePwd and supplementalCredentials) from one user to another:
  --clone-from-user <user1> --clone-to-user <user2>

Testing stuff:
  --show-password-charlist                     (show characters used to create random passwords)
  --set-firstpassword                          (ALL users: set passwords back to sophomorixFirstPassword attribute)
  --set-firstpassword -u <user1>,<user2>, ...  (set passwords back to sophomorixFirstPassword attribute)

  --test-login <user> --password <password-to-test>

  --test-firstpassword                         (ALL users: Test sophomorixFirstPassword as password)
  --test-firstpassword -u <user1>,<user2>, ... (Test sophomorixFirstPassword as password)
    Users that still use their firstpassword are logged into 
     /var/lib/sophomorix/tmp_sophomorix-passwd/test-firstpassword.sh
    where their password can be set.


Options:
  --nofirstpassupdate (do not update AD attribute sophomorixFirstPassword)
  --hide (hide display of password in console output, when updating)

Create and set password:
  --pass <password>, --password <password>
  --pass <password>, --use-smbpasswd       (use smbpasswd to set the password, this is the default)
  --interactive                            (query new password twice on console)
  --random <num>                           (create random password of <num> characters for each user individually)
  --random <num> --common                  (create random password of <num> characters once and apply it to all users)
  --configfile                             (use *.school.conf of the user to create individual password)


Create userlist:
  -u <user1>,<user2>,...  /  --user  <user1>,<user2>,...
  -c <class1>,<class2>,... / --class  <class1>,<class2>,... (class members only, not admins)
Create computerlist
  --computer <computer1>,<computer2>,...

 Password expiry stuff:
  --show-password-expiry-days <user> (show info)
  --set-password-noexpiry-all-sophomorix-users (set all password of sophomorix users to nonexpiry)


Console examples:
  Interactively change password of a user (Always with --hide and --nofirstpassupdate)
    sophomorix-passwd --user schneima42 --interactive
  Create password according to *.school.conf settings
    sophomorix-passwd --configfile --user 

Webui examples:
  Change password for a user:
    sophomorix-passwd --user <user> --pass 'Muster!7' --hide (--nofirstpassupdate) 
  Reset a password for a user from Schulkonsole:
    sophomorix-passwd --set-firstpassword -u <user1>,<user2>,...
  Test if the sophomorixFirstPassword is the valid password:
    sophomorix-passwd --test-firstpassword -u <user1>,<user2>,...


Todo:
Password change:
  --samba-pwd-must-change/nosamba-pwd-must-change
  --all-characters    (allow all characters in passwords,
                       only for developers, be careful!)
Create userlist:
  -s / --students
  -t / --teachers
  -w / --workstations (ExamAccouts)
  --project project1,project2,... 
  -r room1,room2,...   /  --rooms room1,room2,...

Please see the sophomorix-passwd(8) man pages for full documentation

