Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 10 Question 123 Discussion

Posted by Virgilio on Mar 05, 2026 at 05:52 AM

Create User Account.

Create the following user, group and group membership:

Adminuser group

User natasha, using adminuser as a sub group

User Harry, also using adminuser as a sub group

User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat.

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
39 comments · newest first
KE
Kenneth 18 hours ago
I feel good about the commands.
CO
Coral 6 days ago
I’m confused about the group membership.
LA
Latanya 11 days ago
I think it's straightforward.
AL
Alesia 16 days ago
This question is tricky.
DA
Daron 21 days ago
Good idea, repetition helps!
PE
Pete 27 days ago
I’ll practice before the exam.
BR
Brittni 1 month ago
Same here, syntax is crucial.
AN
Angelo 1 month ago
I hope I remember the commands correctly.
DA
Daron 1 month ago
Right! And the password is redhat for all.
PE
Pete 2 months ago
Don't forget to set sarah's shell to nologin.
BR
Brittni 2 months ago
Yes, then useradd for natasha and harry.
AN
Angelo 2 months ago
I would start with groupadd adminuser.
DA
Daron 2 months ago
Sarah's restriction is interesting.
PE
Pete 2 months ago
I think I got it. Adminuser is key.
BR
Brittni 2 months ago
I feel confused about the group membership.
AN
Angelo 3 months ago
This question is tricky.
LA
Lavonda 3 months ago
I agree, especially the no-login for Sarah.
HI
Hillary 3 months ago
I think the group management part is essential.
SU
Susana 3 months ago
I feel it's straightforward if you know the commands.
AL
Alverta 3 months ago
This question is tricky.
LE
Leanna 3 months ago
I thought the password was supposed to be more secure than "redhat."
DE
Deeann 4 months ago
Just a heads up, make sure to double-check the group memberships!
RE
Remedios 4 months ago
Wait, why can't Sarah access the shell? Seems odd.
AN
An 4 months ago
Totally agree, that typo could cause issues!
NO
Norah 4 months ago
Looks good, but you misspelled Harry's username.
TI
Tiera 4 months ago
Just to clarify, the password for all users is "redhat"? That's risky!
AR
Ariel 5 months ago
I think it's a security measure, makes sense to restrict access.
RO
Roxane 6 months ago
Wait, why can't Sarah access the shell? Seems odd.
FR
Frederica 6 months ago
Agreed, it's "haryy" instead of "harry".
LU
Luann 6 months ago
Looks good, but typo in Harry's username.
HE
Herman 7 months ago
I thought you could use /sbin/nologin for any user, not just for restrictions.
CH
Chandra 7 months ago
Just a quick note, make sure to use the correct command syntax!
NA
Natalya 7 months ago
Wait, why can't Sarah access the shell? Seems odd.
PA
Pansy 7 months ago
Totally agree, that needs fixing!
BA
Barrett 7 months ago
Looks good, but typo in Harry's username.
VI
Virgina 7 months ago
I remember there was a command to set the password, but I can't recall if we should use `passwd` or `echo` for that.
HE
Helene 8 months ago
I might have mixed up the useradd commands; I hope I didn't write "haryy" instead of "harry" in my answer.
MA
Mayra 8 months ago
I practiced a similar question where we had to restrict shell access for a user, so I think using `-s /sbin/nologin` for Sarah is correct.
LE
Levi 8 months ago
I think I remember that we need to create the group first with `groupadd`, but I'm not entirely sure about the syntax for adding users to that group.
0/2000 characters

Save Cancel