Chapter 7 Flashcards
groups
means of organizing users. groups parallel users
345
GIDs
group IDs
number created to track groups
346
UIDs
User IDs
number created to track users
346
useradd parameter
-c
comment parameter passes the comment field for the user. may include contact info for the administrator
348
useradd parameter
-d or home-dir
used to specify a user’s account home directory
348
useradd parameter
-e expire-date
used to specify when an account will be disabled as expressed in YYYY-MM-DD format
348
useradd parameter
-f inactive-days
specifies the number of inactive days are acceptable before the password expires
348
useradd parameter
-g default-group
used to set the name or GID
348
useradd parameter
-G group[,…]
sets the names or GIDs of one or more groups to which the user belongs
349
useradd:
/etc/login.defs file
specifies whether or not to create a user’s home directory when the account is created via the CREATE_HOME setting
349
useradd parameter
-M
forces the system not to create a home directory, even if /etc/login.defs specifies that this action is the default
349
useradd parameter
-p password
passes the pre-hashed password for the user to the system.
349
useradd parameter
-s shell
sets the name of the user’s default login shell
defaults to /bin/bash
349
useradd parameter
-u UID
creates an account with the specified user ID value (UID). This must be a counting number
349
useradd parameter
-r
specifies the creation of a system account
350