[PVE-User] Bug in pveum useradd

rob rob at fantinibakery.com
Thu Jan 17 14:25:24 CET 2013


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 at pve -password thisdoesnotwork
>  pveum useradd foo at 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
> pve-user at pve.proxmox.com
> 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 at pve
pveum passwd rob at pve

pveum usermod  rob at pve -group admin








More information about the pve-user mailing list