Mod 10-18 Flashcards

1
Q

What order does Linux check for DNS info for a particular IP?

A
  1. /etc/nsswitch.conf
  2. /etc/hosts
  3. /etc/resolv.conf
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which file holds info for name servers?

A

/etc/resolv.conf

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

where is a list of users/permissions/groups in a host located?
Where is a list of these users passwords located?

A

/etc/passwd
/etc/shadow

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

Which command can be used to view the /etc/shadow file entries?

A

getent - can be used to view /etc/shadow entries

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

Where is group configuration info located?

A

/etc/group

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