RedHat EX200 Exam - Topic 2 Question 7 Discussion
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.
A) groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah
B) groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd harry
# passwd sarrah
Maxima
8 months agoLillian
8 months agoGeoffrey
8 months agoPhyliss
8 months agoShaniqua
8 months agoTashia
9 months agoCarmen
9 months agoTula
9 months agoLoren
9 months agoAlesia
9 months agoAlbina
9 months agoMyra
9 months agoKatie
9 months agoKristeen
9 months agoMarti
9 months ago