This topic introduces the user command usage:
|
NOTE: If you specify a command without supplying the expected value or option, you will be prompted to provide the correct value or option. |
Displays the current status of the service and root user accounts (using the user --show --users command), and also displays the login types and login times on a QoreStor (using the user --show --logins command).
user --show [--users] [--logins] [--verbose] [--name <user name>] [--roles <cifs|||||||secure_connect|object>]
Where
--users List of users. --logins List of logins. --verbose verbose --name show a specific user. --roles List all users who has these roles
Service Account : Disabled Root Account : Enabled User Name : backup_user User Roles : , User Name : admin User Roles :
Displays the current status of login attempts on a QoreStor.
user --show --logins User Name Terminal Login Time root pts/1 Oct 24 10:51 (10.15.13.4) root pts/2 Oct 23 20:41 (10.18.0.1) root pts/3 Oct 23 20:41 (10.15.0.13) root pts/5 Oct 24 09:35 (10.20.21.6) pts/6 Oct 24 12:32 (acme13.storage.local) root pts/7 Oct 24 12:24 (10.18.11.12)
Adds a user account with the specified username.
user --add --name <user name> [--roles <cifs|ost|rda|ndmp|iscsi|monitor|administrator|secure_connect|object>] [--full_name <full name>] [--phone <phone number>] [--email_addr <e-mail address (e.g. name@company.com)>] [--description <anything>]
Where
--name user name --roles user role --full_name user's full name --phone phone number --email_addr email address --description description
Enter new password: Re-type password: User "Test_User" created successfully.
Updates a specified user account. You can update the username, add roles to or remove roles from the account, add information such as full name, phone number, email address, or description.
user --update --name <user name> [--new_name <user name>] [--add_roles <cifs||||||administrator|secure_connect|object>] [--remove_roles <cifs||||||administrator|secure_connect|object>] [--full_name <full name>] [--phone <phone number>] [--email_addr <e-mail address (e.g. name@company.com)>] [--description <anything>]Where
--name user name --new_name new user name --add_roles user role --remove_roles user role --full_name user's full name --phone phone number --email_addr email address --description description
Successfully updated User Test_User.
The example below adds the secure_connect role to a user account
user --update --name test1 --add_roles secure_connect
Successfully updated User test1.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center