Mantis - Resin
Viewing Issue Advanced Details
4938 minor always 01-25-12 22:34 02-01-12 09:20
rickHigh  
ferg  
normal  
closed  
fixed  
none    
none 4.0.26  
0004938: resinctl password-generate says it takes --user but it does not.. it only takes -user (one dash not two)
usage: resinctl password-generate [--options] [<user>] [<password>]

  generates an administrator user and password

where options include:
  --conf <file> : alternate resin.xml file
  --log-directory <file> : alternate log directory
  --mode <string> : select .resin properties mode
  --password <password> : the password for the password hash (leave empty for prompt)
  --resin-home <dir> : alternate resin home
  --root-directory <file> : alternate root directory
  --server <id> : select Resin server from config
  --user <user> : the user name to generate a password hash
  --user-properties <file> : select an alternate $HOME/.resin file
  --verbose : produce verbose output
rick@ubuntu:/etc/resin$ resinctl generate-password --user admin
generate-password requires a -user argument
rick@ubuntu:/etc/resin$ resinctl generate-password -user admin
Enter password:
admin_user : admin
admin_password : {SSHA}asdfasdfasdfasdfasdf...

Notes
(0005686)
ferg   
02-01-12 09:20   
server/6n06