Exam EX200 Topic 8 Question 37 Discussion
Actual exam question for RedHat's EX200 exam
Question #: 37
Topic #: 8
Question #: 37
Topic #: 8
Create User Accounts
Create the following user accounts, ensuring the checkboxes are enabled:
- Group named sysmgrs
- User natasha, belonging to the sysmgrs group as a secondary group
- User harry, belonging to the sysmgrs group as a secondary group
- User sarah, with no access to interactive shell on the system and not a member of sysmgrs
- Passwords for natasha, harry, and sarah should all be "flectrag".
Create the following user accounts, ensuring the checkboxes are enabled:
- Group named sysmgrs
- User natasha, belonging to the sysmgrs group as a secondary group
- User harry, belonging to the sysmgrs group as a secondary group
- User sarah, with no access to interactive shell on the system and not a member of sysmgrs
- Passwords for natasha, harry, and sarah should all be "flectrag".
Suggested Answer:
Solution:
[root@node1 ~]# groupadd sysmgrs
[root@node1 ~]# useradd -G sysmgrs natasha
[root@node1 ~]# useradd -G sysmgrs harry
[root@node1 ~]# useradd -s /bin/false sarah
[root@node1 ~]# echo tianyun |passwd --stdin natasha
[root@node1 ~]# echo tianyun |passwd --stdin harry
[root@node1 ~]# echo tianyun |passwd --stdin sarah
[root@node1 ~]# groupadd sysmgrs
[root@node1 ~]# useradd -G sysmgrs natasha
[root@node1 ~]# useradd -G sysmgrs harry
[root@node1 ~]# useradd -s /bin/false sarah
[root@node1 ~]# echo tianyun |passwd --stdin natasha
[root@node1 ~]# echo tianyun |passwd --stdin harry
[root@node1 ~]# echo tianyun |passwd --stdin sarah
by Joshua at Oct 26, 2026, 09:09 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).