docs: grammar: user management
Minor grammar changes for the User Management page
This commit is contained in:
parent
9a67d1f41a
commit
50dcf04e59
|
@ -2,7 +2,7 @@
|
|||
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
|
||||
|
||||
|
@ -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'>;
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
|
@ -18,7 +18,7 @@ When creating a user and specifying the user name and password, password needs t
|
|||
DROP USER <user_name>;
|
||||
```
|
||||
|
||||
Drop a user can only be performed by root.
|
||||
Dropping a user can only be performed by root.
|
||||
|
||||
## Change Password
|
||||
|
||||
|
@ -26,7 +26,7 @@ Drop a user can only be performed by root.
|
|||
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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
Note:there is another privilege `super`, which not allowed to be authorized to any user.
|
||||
Note:there is another privilege `super`, which is not allowed to be authorized to any user.
|
||||
|
||||
## Show Users
|
||||
|
||||
|
@ -45,6 +45,6 @@ SHOW USERS;
|
|||
```
|
||||
|
||||
:::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.
|
||||
|
||||
:::
|
||||
|
|
Loading…
Reference in New Issue