LPIC-1 Exam 102 v5 (Linux Administrator) — Question 33
What can be specified with useradd? (Choose two.)
Answer options
- A. Commands the user can run using sudo.
- B. The absolute path to the user's home directory.
- C. Which printers are available for the new user.
- D. The SSH keys used to login to the new account.
- E. The numeric user ID (UID) of the user.
Correct answer: B, E
Explanation
When using the useradd command, you can specify the absolute path to the user's home directory and the numeric user ID (UID) for the new user. Options A, C, and D are not directly settable through useradd; they pertain to different configurations or commands.