nerdexam
Red_HatRed_Hat

EX200 · Question #4

EX200 Question #4: Real Exam Question with Answer & Explanation

This task requires creating a new group sysmgrs, then creating users natasha and harry as secondary members of sysmgrs, and user sarah with no interactive shell access, all with the password "flectrag".

Submitted by joshua94· Apr 18, 2026Manage Users and Groups

Question

04. 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". Correct Answer: See the below explanation Explanation Explanation/Reference: 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

Explanation

This task requires creating a new group sysmgrs, then creating users natasha and harry as secondary members of sysmgrs, and user sarah with no interactive shell access, all with the password "flectrag".

Concept tested. User and group account management

Reference. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_users_and_groups/assembly_managing-user-accounts_managing-users-and-groups

Topics

#User creation#Group creation#User shell#Password setting

Community Discussion

No community discussion yet for this question.

Full EX200 PracticeBrowse All EX200 Questions