Hi,
Currently, it's difficult to create new users automatically as postal make-user creates a prompt for user details. I would absolutely love it if we could enter the username/password/details as arguments.
For example,
postal make-user -fname Test -lname User -password pass -username testuser
Thanks!
Side Note: The password is insecure, as it can be seen while being entered as well as in the shell's history file, but the user can always change it after logging in. Probably a better way would be for a password to be automatically generated and output by the command.
I like both these ideas. I'll get them implemented soon.
You can use bash feature and pipe the standard input to directly create user.
printf '[email protected]\nFname\nSname\nLongRand0mPassword' | postal make-user
@adamcooke Any update on this?
Most helpful comment
You can use bash feature and pipe the standard input to directly create user.
printf '[email protected]\nFname\nSname\nLongRand0mPassword' | postal make-user