Skip to content

Commit 99fd6b0

Browse files
committed
sysadmin: Fix docs on user management (DCL)
1 parent ec0a2d1 commit 99fd6b0

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

docs/blueql/4.dcl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SYSCTL REPORT STATUS
2121

2222
**Syntax**:
2323
```sql
24-
SYSCTL CREATE USER 'username' WITH { password: 'password' }
24+
SYSCTL CREATE USER <username> WITH { password: 'password' }
2525
```
2626
- **Access control**: `root` only
2727
- **Returns**: empty or error
@@ -30,7 +30,7 @@ SYSCTL CREATE USER 'username' WITH { password: 'password' }
3030

3131
**Syntax**:
3232
```sql
33-
SYSCTL ALTER USER 'username' WITH { password: 'new password' }
33+
SYSCTL ALTER USER <username> WITH { password: 'new password' }
3434
```
3535

3636
- **Access control**: `root` only
@@ -45,7 +45,7 @@ Trying to change the `root` account password will throw an error. You can only c
4545

4646
**Syntax**:
4747
```sql
48-
SYSCTL DROP USER 'username'
48+
SYSCTL DROP USER <username>
4949
```
5050
- **Access control**: `root` only
5151
- **Returns**: empty or error

docs/system/2.user-management.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,19 @@ what you intended, you can safely ignore it.
3535

3636
You can have any number of standard users. Standard users can essentially manipulate data but can't modify the objects that store them.
3737

38-
#### Changing account passwords
38+
#### Creating user accounts
3939

40-
To change the password for a given account, you can follow the [instructions on BlueQL's DCL guide here](/blueql/dcl#sysctl-alter-user).
40+
To create an user account, run the following BlueQL query:
41+
42+
```sql
43+
SYSCTL CREATE USER <username> WITH { password: 'password' }
44+
```
45+
46+
Read more about [creating users here](/blueql/dcl#sysctl-create-user).
47+
48+
#### Updating and removing user accounts
49+
50+
To remove or update an account, you can follow the [instructions on BlueQL's DCL guide here](/blueql/dcl).
4151

4252
#### Rights
4353

0 commit comments

Comments
 (0)