Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
elearning:workbooks:redhat:rh124en:l105 [2024/11/24 07:45] adminelearning:workbooks:redhat:rh124en:l105 [2024/11/26 13:43] (Version actuelle) admin
Ligne 43: Ligne 43:
 </WRAP> </WRAP>
  
-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 **/etc/shadow** file to store passwords.   * The password. A value of **x** in this field indicates that the system uses the **/etc/shadow** file to store passwords.
   * 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:
 </WRAP> </WRAP>
  
-<WRAP centre round important 60%>+<WRAP center round important 60%>
 **Important**: Note the **-r** option which allows the creation of a system group. **Important**: Note the **-r** option which allows the creation of a system group.
 </WRAP> </WRAP>
Ligne 710: Ligne 710:
 </WRAP> </WRAP>
  
-<WRAP centre round important 60%>+<WRAP center round important 60%>
 **Important**: Note the **-r** option which allows a system account to be created. In this case the useradd command does not create a home directory. **Important**: Note the **-r** option which allows a system account to be created. In this case the useradd command does not create a home directory.
 </WRAP> </WRAP>
Ligne 811: Ligne 811:
 </code> </code>
  
-<WRAP centre round important 60%>+<WRAP center round important 60%>
 **Important**: Note the **-l** option, which locks an account by placing the character **!** in front of the encrypted password. **Important**: Note the **-l** option, which locks an account by placing the character **!** in front of the encrypted password.
 </WRAP> </WRAP>
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 main group when the **-N** option is used with the **useradd** command. Otherwise, the main group is either the group specified by the **-g** option of the command, or a new group with the same name as the user,+  * **GROUP** - identifies the user's default primary group when the **-N** option is used with the **useradd** command. Otherwise, the primary group is either the group specified by the **-g** option of the command, or a new group with the same name as the user,
   * **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 **/etc/login.defs** file,   * **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 **/etc/login.defs** file,
   * **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:
 </code> </code>
  
-Now create three users **fenestros1**, **fenestros2** and **fenestros3**. The three users have **group1**, **group2** and **group3** as their main group respectively. **fenestros2** is also a member of **group1** and **group3**. **fenestros1** has a GECOS of **tux1**:+Now create three users **fenestros1**, **fenestros2** and **fenestros3**. The three users have **group1**, **group2** and **group3** as their primary group respectively. **fenestros2** is also a member of **group1** and **group3**. **fenestros1** has a GECOS of **tux1**:
  
 <code> <code>
Menu