In this chapter, we have examined the basic procedures for managing users and groups on a Solaris system. Since all processes and threads are executed with a real or effective user and group ID, it’s important for administrators to understand how to manage these entities effectively.
What are the typical uses for a Solaris user account (choose two only)?
| ||
Which of the following groups contains only default system accounts?
| ||
What are the names of the two password files used by Solaris?
| ||
Which of the following users has a default UID of 0?
| ||
Which of the following useradd commands is valid?
| ||
Which of the following usermod commands would change the UID of the www account from 1004 to 1005?
| ||
A locked account can be identified in /etc/passwd by which of the following entries?
| ||
Which of the following userdel commands would delete account melissa (UID 1002)?
| ||
Which of the following groupadd commands is valid?
| ||
Which of the following characteristics cannot explicitly be set using admintool?
|
Answers
A or D. Most users log in with a shell and use it to launch applications. |
|
C. www, samba, and oracle are common accounts on Solaris, but they are user-installed. |
|
D. The passwd file doesn’t contain passwords anymore, but retains all user details. |
|
B. The root user has a default UID of 0, but this can be modified. |
|
C. UIDs and GIDs must be numeric. |
|
A. Only the UID needs to be identified with the –u parameter. |
|
C. *LK* indicates a locked account. |
|
D. UIDs must be used when deleting accounts. |
|
A. UIDs must be used when adding groups. |
|
D. admintool can be used to set the primary group, login shell, and an expiry date, but cannot perform normal shell tasks. |