Structure And File Location Flashcards

1
Q

If an asterisk (*) is in the password field what does that mean?

A

The account has been disabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What file holds the variable for how many days have to pass before the account is disabled

A

/etc/default/useradd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the Last_Modified field in the file /etc/shadow

A

This field displays the number of days since,January 1 1970 that the password has been changed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the field Min_days field of the file /etc/shadow

A

This field displays the min number of days required before the password can be changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The default value of how many days are required before a password can be changed is located where?

A

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define the Max_days field in the file /etc/shadow

A

This field displays the max days before a password expires.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The default value for the max days before a password can be modified is located ….?

A

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the Warn_days field in/etc/shadow

A

This field displays the number of days before warning a user of password expiration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Where is the default value for the Warn_Days located

A

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

If I would like to change the default inactive value the user accounts what file would I go to?

A

/etc/default/useradd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

the command useradd obtains the defualts for adding users to the system in what file?

A

/etc/default/useradd

and

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is the file /etc/skel used for?

A

to populate the new users home directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If I would like to see what is in the /etc/default/useradd file what command would I execute?

A

useradd -D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Linux groups information is stored where?

A

/etc/groups and /etc/gshadow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what directory is connected to /usr/bin and contains command binarys ?

A

/bin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

this directory contains files required to boot your system.

A

/boot

17
Q

What directory contains special files used to represent the various hardware devices installed in the system?

A

/dev

18
Q

what directory contains global configuration files

A

/etc

19
Q

What directory contains system library files?

A

/lib

20
Q

What directory is intended to be a temporary mount point?

A

/mnt

21
Q

What directory is inteded to contain subdirectories used as mount points for removable media?

A

/media

22
Q

What directory is the suggested location for 3rd party applications?

A

/opt

23
Q

What directory contains system binaries used by the root or other systems administrators for booting , restoring, or repairing the operations system?

A

/sbin

24
Q

What directory contains temporary files created by usr applications>?

A

/tmp

25
Q

What directory contains user system files?

A

/usr

26
Q

what directory contains variable data, including you system log files?

A

/var

27
Q

what directory contains the home directories of user accounts ?

A

/home

28
Q

what directory contains system information gathered from boot time forward. this directory is also cleared at the start of the boot process?

A

/run

29
Q

what directory contains data for services(such as HTTP and FTP ) running on the server?

A

/srv

30
Q

what directory provides device, driver, and some kernal information?

A

/sys

31
Q

what directory is a dynamic memory base directory that contains process and other system information?

A

/proc

32
Q

what directory contains a special directory that contain kernel operating parameters . Also what is the name of the special directory?

A

/proc and /sys