CompTIA
XK0-001 · Question #268
Which of the following commands will create 'bsmith' as a user in the group 'web_users'?
The correct answer is B. useradd -g web_users bsmith. See the full explanation below for the reasoning.
Question
Which of the following commands will create 'bsmith' as a user in the group 'web_users'?
Options
- Auseradd bsmith web_users
- Buseradd -g web_users bsmith
- Cuseradd web_users "bsmith" -add
- Dgroupadd -group web_users bsmith
How the community answered
(58 responses)- A7% (4)
- B76% (44)
- C14% (8)
- D3% (2)
Community Discussion
No community discussion yet for this question.