Postal: Creating Users

Created on 13 May 2017  路  3Comments  路  Source: postalhq/postal

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.

enhancement

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

All 3 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Razva picture Razva  路  7Comments

destroyer998 picture destroyer998  路  5Comments

stayallive picture stayallive  路  5Comments

moskoweb picture moskoweb  路  6Comments

Igcorreia picture Igcorreia  路  4Comments