Workbook 3 User and Groups : Chapter 1 Linux Users and the /etc/passwd File Flashcards

1
Q

What is the name of the file in which UID’s are found?

A

/etc/passwd [4]

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

Which fields in /etc/passwd identify a user’s

(i) home directory,
(ii) login shell

A

(i) field 6

(ii) field 7 [5]

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

In which file are user passwords stored?

A

field 2 [5]

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

In which file is the username stored?

A

field 1 [5]

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

What file is used to store passwords?

A

/etc/shadow [5]

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

What is a system user?

A

System users don’t represent people, but components of the system. [6]

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

What is the uid range of
(i) system users
and
(ii) normal users?

A

(i) 1- 499

(ii) 500+ [6/7]

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

What is the uid for root

A

0 [6,7]

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

What command displays userid as a number?

A

ls -ln [8]

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