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
this directory contains files required to boot your system.
/boot
What directory contains special files used to represent the various hardware devices installed in the system?
/dev
what directory contains global configuration files
/etc
What directory contains system library files?
/lib
What directory is intended to be a temporary mount point?
/mnt
What directory is inteded to contain subdirectories used as mount points for removable media?
/media
What directory is the suggested location for 3rd party applications?
/opt
What directory contains system binaries used by the root or other systems administrators for booting , restoring, or repairing the operations system?
/sbin
What directory contains temporary files created by usr applications>?
/tmp
What directory contains user system files?
/usr
what directory contains variable data, including you system log files?
/var
what directory contains the home directories of user accounts ?
/home
what directory contains system information gathered from boot time forward. this directory is also cleared at the start of the boot process?
/run
what directory contains data for services(such as HTTP and FTP ) running on the server?
/srv
what directory provides device, driver, and some kernal information?
/sys
what directory is a dynamic memory base directory that contains process and other system information?
/proc
what directory contains a special directory that contain kernel operating parameters . Also what is the name of the special directory?
/proc and /sys