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
10 months agoLillian
10 months agoGeoffrey
10 months agoPhyliss
10 months agoShaniqua
10 months agoTashia
11 months agoCarmen
11 months agoTula
11 months agoLoren
11 months agoAlesia
11 months agoAlbina
11 months agoMyra
11 months agoKatie
11 months agoKristeen
11 months agoMarti
11 months ago