In Ubuntu, there is a GUI option when creating new users:
- Allow user to set a password when they next login
- Set a password now
What would be the command line equivalent to this ?
From what I've been able to determine, useradd or adduser don't provide this option.
I know I can set a password and expire it forcing the user to change it but that's not the same thing exactly.
This would be for NEW users who have never logged on, and giving them the privilege to set their password for themselves at the first login.
I know if the GUI can do it can be done, but can't find it anywhere in man pages or internet searches.....