|
UnixReview.com
June 2007
Test Your Knowledge of Users and Groups
by Emmett Dulaney
If there is one thing that all administrators deal with on a regular basis, it is users and groups. If there is one topic that you should know inside and out, it is users and groups. That said, following are 50 questions intended to test your knowledge of user and group fundamentals at an intermediate level. Good luck (answers are at the end of the article)!
1. What is the default UID number assigned to the first user added to a system on most systems?
A. 1
B. 100
C. 1000
D. 10000
2. Which command can be used at the command line to change your active GID to a new one?
A. chgroup
B. group
C. newgrp
D. switch
3. Which field of the /etc/passwd file identifies the user’s primary group ID?
A. 1
B. 3
C. 4
D. 5
E. 6
F. 7
4. NIS entries are automatically added to your system. What character precedes entries in /etc/passwd for which this is done?
A. +
B. !
C. ?
D. %
5. How many fields does the /etc/shadow file consist of?
A. 7
B. 9
C. 12
D. 15
6. Which command can be used to see a user’s password aging information?
A.
|