Skip to content

Commit

Permalink
fix: wrong tags (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
alemorvan authored Mar 22, 2024
1 parent c672d3e commit 644ae40
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/books/admin_guide/06-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ Example:
sudo groupadd -g 1012 GroupeB
```

| Option | Description |
| --------| ----------------------------- |
|`-g GID` | Defines the `GID` of the group to create. |
|`-f` | The system chooses a `GID` if the one specified by the `-g` option already exists. |
|`-r` | Creates a system group with a `GID` between `SYS_GID_MIN` and `SYS_GID_MAX`. These two variables are defined in `/etc/login.defs`. |
| Option | Description |
| -------- | ----------------------------------------- |
| `-g GID` | Defines the `GID` of the group to create. |
| `-f` | The system chooses a `GID` if the one specified by the `-g` option already exists. |
| `-r` | Creates a system group with a `GID` between `SYS_GID_MIN` and `SYS_GID_MAX`. These two variables are defined in `/etc/login.defs`. |

Group naming rules:

Expand Down Expand Up @@ -124,10 +124,10 @@ sudo groupmod -g 1016 GroupP
sudo groupmod -n GroupC GroupB
```

|Option | Description |
| ------| ----------- |
|`-g GID` | New `GID` of the group to modify.
|`-n name` | New name.
| Option | Description |
| -------- | --------------------------------- |
|`-g GID` | New `GID` of the group to modify. |
|`-n name` | New name. |

It is possible to change the name of a group, its `GID`, or both simultaneously.

Expand Down Expand Up @@ -459,7 +459,7 @@ uid=1000(test1) gid=1000(test1) groups=1000(test1),1003(groupB),1004(groupC),100

### `userdel` command

The <0>userdel</0> command lets you delete a user's account.
The `userdel` command lets you delete a user's account.

```bash
sudo userdel -r carine
Expand Down Expand Up @@ -722,7 +722,7 @@ root

### `passwd` command

The <0>passwd</0> command manages a password.
The `passwd` command manages a password.

```bash
passwd [-d] [-l] [-S] [-u] [login]
Expand Down

0 comments on commit 644ae40

Please sign in to comment.