wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

M7 Linux

Total questions: 23

Worksheet time: 20mins

Name
Class
Date
1.

Our IT team is starting to set up and change how our passwords work inside our systems, what command will allow us to make these changes?

a)

chage

b)

chusr

c)

chown

d)

chusr

2.

Which option in chage command will allow us to set the minimum number of days before the password can be changed.


(a)  
Choose from the below words
-m
-M
-W
-d
3.

We are trying to increase our security inside our Linux systems, the IT manager has decided to set a policy for maximum number of days allowed before the password needs to be changed, which option will we use for this under the chage command?

a)

-M

b)

-m

c)

-W

d)

-h

4.

What is the only command to change permissions?

a)

chperm

b)

chmod

c)

chage

d)

chown

5.

What are the three permission classes?

a)

user group other

b)

user group world

c)

owner group other

d)

read write execute

6.

What command would root use to change the ownership of a file?

a)

chown

b)

chmod

c)

chusr

d)

chage

7.

What are the permissions?

a)

read write execute

b)

user group other

c)

execute read write

d)

read execute write

8.

What are the three permission classes?

a)

user

b)

group

c)

owner

d)

read

e)

other

9.

What command would root use to change the ownership of a file?

a)

chown

b)

chmod

c)

chusr

d)

chage

10.

What are the permissions?

a)

read

b)

user

c)

write

d)

execute

e)

group

11.

User passwords are encrypted and kept where?

a)

/etc/shadow

b)

/tmp/shadow

c)

/shadow

d)

/etc/temp

12.

True/False: The /etc/shadow file is read only and can be read by standard users.

a)

True

b)

False

13.

if I want to change the group of a file, I use which command:

a)

chgrp

b)

chown

c)

chage

d)

groupadd

14.

How do I delete a user from the system?

a)

userdelete

b)

userdel

c)

deluser

d)

deleteuser

15.

The ​ (a)   command is a low-level utility for creating a new user account in the system. 

Choose from the below words
useradd
adduser
add
user
createuser
16.

Which command functions similar to the useradd command, but provides a link to the useradd?

a)

useradd

b)

adduser

c)

createuser

d)

makeuser

17.

The usermod command will allow me to:

a)

Modify a group

b)

Modify a user

c)

Moderate a user

d)

Moderate a group

18.

Which option under the command of usermod will allow me to lock an account?


(a)  
Choose from the below words
-L
-l
-U
-a
19.

The command to create a group is:


(a)  
Choose from the below words
groupadd
addgroup
groupaddon
chgrp
20.

How do I display directory permissions?

a)

ls -ld

b)

ls -l

c)

ls -ls

d)

ls -dl

21.

What are the three permission classes?


(a)   (b)   (c)  
Choose from the below words
user
group
other
owner
read
22.

if I want to change the group of a file, I use which command:

a)

chgrp

b)

chown

c)

chage

d)

groupadd

23.

What was the best dish you had for Thanksgiving?

4 lines