/etc/passwd Flashcards

7 fields of an entry in the /etc/passwd file page 92

1
Q

Field 1

A

User account name

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

Field 2

A

Placeholder for the hashed password stored in the /etc/shadow file

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

Field 3

A

User Identification (UID). Number that identifies user to the system. User root UID is always 0

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

Field 4

A

Group Identification (GID). Number that identifies user’s primary group.

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

Field 5

A

Comments, normally user’s full name, office, or phone numbers.

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

Field 6

A

User’s home directory

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

Field 7

A

User’s default shell

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