RHCSA Basic Exercises (4)

RHCSA practice assignments

1. Create mygroup group, group group, temp group with GID 600 and adminuser group with group id 40000

insert image description here

2. Create a myuser user belonging to the mygroup group, then log in as myuser, create two files ex and hv in the /home/myuser directory, and make the same group user of the hv file root. Please write the corresponding execution commands in turn

insert image description here

3. Add a new user helen and set its user home directory /helen, the password is empty, and use the temp group as an additional group of user helen. Please write the corresponding execution commands in turn

insert image description here

4. Create a user user with the password "a1b2c3" and add it to the group group

insert image description here

5. Create a new user named sarah, which does not belong to the adminuser group, and set its shell as a non-login shell

insert image description here

6. Create the alex user, so that the alex user meets the following requirements: the user id is 3456, the description is alian, the password is glegunge, and the affiliated group is group

insert image description here

7. Create an admin user with no password, describe it as teshu, and set the basic group as temp

insert image description here

Supongo que te gusta

Origin blog.csdn.net/Zombie_QP/article/details/127608584
Recomendado
Clasificación