Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:redhat:rh124en:l105 [2024/11/24 07:45] – admin | elearning:workbooks:redhat:rh124en:l105 [2024/11/26 13:43] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 43: | Ligne 43: | ||
</ | </ | ||
- | Good user management involves a good group strategy. In fact, each user is assigned to a **main** group but can also be a member of upto 15 secondary groups. | + | Good user management involves a good group strategy. In fact, each user is assigned to a **primary** group but can also be a member of upto 15 secondary groups. |
As in other operating systems, under Linux it is preferable to give access rights to groups and not to individual users. | As in other operating systems, under Linux it is preferable to give access rights to groups and not to individual users. | ||
Ligne 452: | Ligne 452: | ||
* The password. A value of **x** in this field indicates that the system uses the **/ | * The password. A value of **x** in this field indicates that the system uses the **/ | ||
* THE UID. A unique value used to determine rights to files and directories. | * THE UID. A unique value used to determine rights to files and directories. | ||
- | * GID. A value indicating the user's **main** group. | + | * GID. A value indicating the user's **primary** group. |
* The full name. This optional field is also called **GECOS**. | * The full name. This optional field is also called **GECOS**. | ||
* The user's home directory | * The user's home directory | ||
Ligne 565: | Ligne 565: | ||
</ | </ | ||
- | < | + | < |
**Important**: | **Important**: | ||
</ | </ | ||
Ligne 710: | Ligne 710: | ||
</ | </ | ||
- | < | + | < |
**Important**: | **Important**: | ||
</ | </ | ||
Ligne 811: | Ligne 811: | ||
</ | </ | ||
- | < | + | < |
**Important**: | **Important**: | ||
</ | </ | ||
Ligne 860: | Ligne 860: | ||
In this file we find the following directives: | In this file we find the following directives: | ||
- | * **GROUP** - identifies the user's default | + | * **GROUP** - identifies the user's default |
* **HOME** - indicates that the user's home directory will be created in the **home** directory when the account is created if this option has been enabled in the **/ | * **HOME** - indicates that the user's home directory will be created in the **home** directory when the account is created if this option has been enabled in the **/ | ||
* **INACTIVE** - indicates the number of days of inactivity after a password has expired before the account is locked. A value of -1 disables this directive, | * **INACTIVE** - indicates the number of days of inactivity after a password has expired before the account is locked. A value of -1 disables this directive, | ||
Ligne 953: | Ligne 953: | ||
</ | </ | ||
- | Now create three users **fenestros1**, | + | Now create three users **fenestros1**, |
< | < |