[PVE-User] Bug in pveum useradd

rob rob at fantinibakery.com
Thu Jan 17 14:27:45 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

Also I just reread your post and see that you are trying to set the 
password ,  I missed that and do not know how to do that as a command 
argument.





More information about the pve-user mailing list