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]
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]
3
Q
In which file are user passwords stored?
A
field 2 [5]
4
Q
In which file is the username stored?
A
field 1 [5]
5
Q
What file is used to store passwords?
A
/etc/shadow [5]
6
Q
What is a system user?
A
System users don’t represent people, but components of the system. [6]
7
Q
What is the uid range of
(i) system users
and
(ii) normal users?
A
(i) 1- 499
(ii) 500+ [6/7]
8
Q
What is the uid for root
A
0 [6,7]
9
Q
What command displays userid as a number?
A
ls -ln [8]