Summary:
Sets a user password in a Container, creating the user if he/she doesn't exist.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
Server ID. |
|
|
|
|
User name. If not specified, the default user with administrative privileges is used. |
|
|
|
New password. |
|
|
|
|
Returns:
OK/Error
Description:
To set a user password, a Container doesn't have to be running. If it is stopped, the Container private area will be automatically mounted and then unmounted on completion. If the user doesn't exist, a new user will be added to the user registry using the supplied name and password.
Example:
<packet version="4.0.0" id="2">
<target>vzaenvm</target>
<data>
<vzaenvm>
<set_user_password>
<eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</eid>
<name>johndoe</name>
<password>bXlwYXNz</password>
</set_user_password>
</vzaenvm>
</data>
</packet>