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

Actual exam question for RedHat's EX200 exam
Question #: 123
Topic #: 10
[All EX200 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Pansy
3 days ago
Totally agree, that needs fixing!
upvoted 0 times
...
Barrett
8 days ago
Looks good, but typo in Harry's username.
upvoted 0 times
...
Virgina
13 days 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.
upvoted 0 times
...
Helene
18 days ago
I might have mixed up the useradd commands; I hope I didn't write "haryy" instead of "harry" in my answer.
upvoted 0 times
...
Mayra
23 days 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.
upvoted 0 times
...
Levi
28 days 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.
upvoted 0 times
...

Save Cancel