You are here: Supporting Documents > everRun Command Line Interface Reference > AVCLI Command Descriptions > local-user-edit

local-user-edit

Usage

avcli local-user-edit user [--username name] [--realname name] [--email address] [--password password] [--new-password password] [--local-groups groups] [--permissions permission-types] user-name-or-sid

Description

The local-user-edit command edits an existing user. If you do not give the --password option, the password is not changed. If you give the --password option, the command prompts the user twice to verify that the password was entered correctly.

Options

--username name The user name to assign.
--password password Boolean flag that indicates whether the user should be prompted for a new password.
--new-password password Specify the password as a command-line option instead of being prompted in the same way as --password.
--realname name The user's real name.
--email address The user's email address.
--local-groups groups Local groups for the user to join, in the form of a comma-separated list.
--permissions permission-types Local user permissions, in the form of a comma-separated list.
group-name-or-sid The name or security ID.

Examples

$ avcli local-user-edit --email bsmith@example.net bsmith
$ avcli local-user-edit --realname "Robert Smith" --email rsmith@example.com bsmith
$ avcli local-user-edit --email bsmith@example.net --local-groups read_only --permissions ADD_USER,UPDATE_USER bsmith
$ avcli local-user-edit --password bsmith
$ avcli local-user-edit --new-password secret bsmith
of