Generate a random password, assign it to a user & email it to them.
- Must be run with appropriate privileges.
- If using gmail, enable 2 factor authentication and app password.
- email_cred.json:
{"default-mail": ["<email_address>", "<password>"], "alt-mail": ["<alt_address>", "<password>"]} etc...
####TODO:
Get current user.done.- Add command line arguments (argparse) (user, password strength, logging).
Move password gen to function.done.Store email credentials in json.done.Add subject / html email.done.- Test as cron job on logoff.
- ???
- Profit!