euare-usermod

Change the name and/or path of a user.

Syntax

euare-usermod [-n USER] [-p PATH] [--enabled {true,false}]

  [--pwd-expires YYYY-MM-DDThh:mm:ssZ]
  			[--reg-status     {REGISTERED,APPROVED,CONFIRMED}]
  			[--as-account ACCOUNT] [-U URL] [--region USER@REGION] [-I KEY_ID]   
  			[-S KEY]   [--security-token  TOKEN]  [--debug]
    	[--debugger] [--version] [-h] USER

Positional Arguments

Argument Description
USER Name of the user to update.

Options

Option Description Required
-n, --new-user-name USER New name for the user. No
-p, --new-path PATH New path for the user. No
--new-user-name New name for the user No
--enabled Enable (true) or disable (false) the user. This option is specific to Eucalyptus.

Valid values: true | false

No
--pwd-expires YYYY-MM-DDThh:mm:ssZ New password expiration date, in ISO8601 format. This option is specific to Eucalyptus. No
--reg-status Status of the user's registration. This option is specific to Eucalyptus 4.1 and earlier, in which only confirmed users may access the system.

Valid values: registered | approved | confirmed

No
--as-account ACCOUNT Only Eucalyptus cloud administrators can run this command as the administrator of another account. No

Common Options

Option Description
--region=region Region to direct requests to.
-U url,--url=url Override service URL with this value.
--as-account account This Eucalyptus extension is for use by the system administrator to act as the account administrator of the specified account without changing to account administrator's role.
-I access_key_id, --access-key=access_key_id Override configured access key ID with this value.
-S secret_key, --secret-key=secret_key Override configured secret key with this value.
--security-token=token Security token.
-D, --debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.

Output

Eucalyptus does not return any message.

Example

euare-usermod -u myuser -p /path -n myuser2
x