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 2 Question 7 Discussion

Posted by Valentine on May 03, 2022 at 10:34 PM

Create the following users, groups, and group memberships:

A group named adminuser.

A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.

A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of 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
15 comments · newest first
MA
Maxima 12 months ago
I thought you couldn't have the same password for multiple users?
LI
Lillian 12 months ago
Just a heads up, all users should have the same password.
GE
Geoffrey 12 months ago
Wait, why does Sarah not get a shell? Seems odd.
PH
Phyliss 1 year ago
Totally agree, that’s a mistake in the commands!
SH
Shaniqua 1 year ago
Looks like the group name should be adminuser, not sysmgrs.
TA
Tashia 1 year ago
Okay, let me think this through step-by-step. First, create the adminuser group. Then add Loren and Tula as secondary members. For Carmen, set the shell to /sbin/nologin and make sure all three users have the password 'redhat'. I think I've got a good strategy now.
CA
Carmen 1 year ago
I'm a little confused about the group membership. Do I need to be a member of the adminuser group, or is it just Loren and Tula? And what's the difference between a primary and secondary group?
TU
Tula 1 year ago
Hmm, I'm a bit unsure about the password part. Do we need to set the password for all three users or just Sarah? I'll double-check the instructions to make sure I don't miss anything.
LO
Loren 1 year ago
This question looks straightforward, I think I can handle it. I'll start by creating the adminuser group and then adding Loren and Harry as secondary members. For Sarah, I'll set her shell to /sbin/nologin to prevent interactive login.
AL
Alesia 1 year ago
I feel like I should double-check the password command; I think it’s just `passwd username`, but I hope I remember the right order for everything.
AL
Albina 1 year ago
I practiced a similar question where I had to set a user to nologin, so I think using -s /sbin/nologin for Sarah is correct.
MY
Myra 1 year ago
I remember that users can be added to groups with the -G option, but I keep mixing up the syntax for setting the shell.
KA
Katie 1 year ago
I think we need to create the group first, but I'm not sure if it should be named adminuser or something else.
KR
Kristeen 1 year ago
Hmm, I'm not entirely sure about this one. I'll need to think it through carefully. Maybe the primary effect is that the dependency of the availability of services decreases?
MA
Marti 1 year ago
I'm pretty sure this is about entity integrity, since a primary key should never have a null value.
0/2000 characters

Save Cancel