Structure And File Location Flashcards
If an asterisk (*) is in the password field what does that mean?
The account has been disabled
What file holds the variable for how many days have to pass before the account is disabled
/etc/default/useradd
Describe the Last_Modified field in the file /etc/shadow
This field displays the number of days since,January 1 1970 that the password has been changed
Describe the field Min_days field of the file /etc/shadow
This field displays the min number of days required before the password can be changed.
The default value of how many days are required before a password can be changed is located where?
/etc/login.defs
Define the Max_days field in the file /etc/shadow
This field displays the max days before a password expires.
The default value for the max days before a password can be modified is located ….?
/etc/login.defs
Describe the Warn_days field in/etc/shadow
This field displays the number of days before warning a user of password expiration
Where is the default value for the Warn_Days located
/etc/login.defs
If I would like to change the default inactive value the user accounts what file would I go to?
/etc/default/useradd
the command useradd obtains the defualts for adding users to the system in what file?
/etc/default/useradd
and
/etc/login.defs
what is the file /etc/skel used for?
to populate the new users home directory
If I would like to see what is in the /etc/default/useradd file what command would I execute?
useradd -D
Linux groups information is stored where?
/etc/groups and /etc/gshadow
what directory is connected to /usr/bin and contains command binarys ?
/bin