execute usermod
modifies and existing EMS backend terminal user
Synopsis
execute usermod --name user1 --add.super.admin makes user1 a super admin.
execute usermod [flags]
Options
--add.super.admin Indicates whether to make the user a super admin
--allow.ssh.pwd Indicates whether to allow the user to SSH using a password.
--disallow.ssh.pwd Indicates whether to disallow the user to SSH using a password.
-h, --help help for usermod
--lock Indicates whether to lock the account for the user
--name string The user name
--rm.super.admin Indicates whether to remove super admin priviledges for the user
--ssh.key string The contents of the SSH public key to use for this user's authorized key for key based SSH
--ssh.key.file string SSH public key file to use for this user's authorized key for key based SSH
--unlock Indicates whether to unlock the account for the user
See also
- emscli execute - for executing commands on the host