docs: grammar: user management

Minor grammar changes for the User Management page
This commit is contained in:
Sean Ely 2022-05-26 06:40:50 -07:00 committed by gccgdb1234
parent 9a67d1f41a
commit 50dcf04e59
1 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
title: User Management title: User Management
--- ---
System operator can use TDengine CLI `taos` to create or remove user or change password. The SQL command is as low: A system operator can use TDengine CLI `taos` to create or remove users or change passwords. The SQL commands are documented below:
## Create User ## Create User
@ -10,7 +10,7 @@ System operator can use TDengine CLI `taos` to create or remove user or change p
CREATE USER <user_name> PASS <'password'>; CREATE USER <user_name> PASS <'password'>;
``` ```
When creating a user and specifying the user name and password, password needs to be quoted using single quotes. When creating a user and specifying the user name and password, the password needs to be quoted using single quotes.
## Drop User ## Drop User
@ -18,7 +18,7 @@ When creating a user and specifying the user name and password, password needs t
DROP USER <user_name>; DROP USER <user_name>;
``` ```
Drop a user can only be performed by root. Dropping a user can only be performed by root.
## Change Password ## Change Password
@ -26,7 +26,7 @@ Drop a user can only be performed by root.
ALTER USER <user_name> PASS <'password'>; ALTER USER <user_name> PASS <'password'>;
``` ```
To keep the case of the password when changing password, password needs to be quoted using single quotes. To keep the case of the password when changing password, the password needs to be quoted using single quotes.
## Change Privilege ## Change Privilege
@ -36,7 +36,7 @@ ALTER USER <user_name> PRIVILEGE <write|read>;
The privileges that can be changed to are `read` or `write` without single quotes. The privileges that can be changed to are `read` or `write` without single quotes.
Notethere is another privilege `super`, which not allowed to be authorized to any user. Notethere is another privilege `super`, which is not allowed to be authorized to any user.
## Show Users ## Show Users
@ -45,6 +45,6 @@ SHOW USERS;
``` ```
:::note :::note
In SQL syntax, `< >` means the part that needs to be input by user, excluding the `< >` itself. In SQL syntax, `< >` means the part that needs to be input by the user, excluding the `< >` itself.
::: :::