On 01/17/2013 08:17 AM, Paul Gray wrote:
Can someone provide an example of using pveum useradd that
successfully sets an initial password? All of the examples that I've
found on the wiki do not have command-line specification of the
password in their example.
What I'm currently using is along the lines of:
pveum useradd foo@pve -password thisdoesnotwork
pveum useradd foo@pve -password "thisdoesnotworkeither"
The man pages seem to indicate this is the appropriate syntax, but the
command dies with "400 wrong number of arguments"
I have no problems when specifying any of the other fields on the
pveum command line, such as firstname, groupname, lastname, etc... The
syntax for the password seems to be different and I seem to be missing
the correct incantation.
-PG
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
We used this 6 months ago on a few systems:
pveum groupadd admin -comment "System Administrators"
pveum aclmod / -group admin -role Administrator
pveum useradd rob@pve
pveum passwd rob@pve
pveum usermod rob@pve -group admin
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user