Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user: tom's login shell should be non-interactive.
Suggested Answer: A
Get Premium EX200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
18 comments · newest first
LU
Luis
3 months ago
I’ll practice more before the exam.
SE
Selene
3 months ago
Same here, it's more efficient.
AR
Aron
3 months ago
I prefer using command line over GUI.
LU
Luis
3 months ago
I just need to remember the syntax.
SE
Selene
3 months ago
Yes, it’s about managing user roles.
AR
Aron
3 months ago
The admin group is essential for permissions.
LU
Luis
4 months ago
Non-interactive shell is confusing.
SE
Selene
4 months ago
I think the commands are straightforward.
AR
Aron
4 months ago
This question is tricky.
FE
Felicidad
4 months ago
This seems a bit odd, but okay!
JO
Jonell
4 months ago
I thought everyone needed a login shell?
ED
Edda
5 months ago
Wait, why non-interactive for me?
KA
Karl
6 months ago
Totally agree, makes sense for our roles.
AR
Aretha
6 months ago
Sounds good, adding both to the admin group!
CH
Christiane
7 months ago
I remember using system-config-users for a GUI approach, but I’m not sure if it’s required for this question.
VA
Vanna
7 months ago
I’m a bit confused about the order of commands; do we need to check the groups after adding each user or just at the end?
SA
Salina
7 months ago
I practiced a similar question where I had to set a user’s shell to nologin, so I think using -s /sbin/nologin for Tom is correct.
TA
Tammara
7 months ago
I think I remember that adding users with specific groups is done with the -G option, but I’m not sure if I need to specify the primary group too.