Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong tags #1950

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading