wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Lecture 12

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

This file has read access for all users, but write access is limited to the root user

a)

cat /etc/passwd

b)

etc/passwd

c)

/etc/shadow

d)

/etc/shell

2.

What command can regular users use to change this information for their account

a)

chfn

b)

grep

c)

sysadmin

d)

finger

3.

This command can be used by other users to display this information

a)

chfn

b)

grep

c)

sysadmin

d)

finger

4.

This command is used to create a new user account

a)

mkdir

b)

adduser

c)

useradd

d)

sudo su

5.

This command is used to update a user’s password

a)

passwd

b)

grep passwd

c)

sysadmin

d)

chpasswd

6.

This command is used to update information related to password expiration

a)

chage

b)

passwd

c)

chpasswd

d)

passwd -u

7.

This command is used by the root account to modify existing user account parameters such as home directory, login name, login shell, password aging information

a)

useradd

b)

usermod

c)

chmod

d)

mkdir -p

8.

This command is an easy way to query administrative called databases that store user information

a)

groups

b)

getent

c)

newgrp

d)

groupadd

9.

The gpasswd command is used by the root user to update the group information in the /etc/gshadow file

a)

groups

b)

groupdel

c)

gpasswd

d)

chpasswd

10.

This command is a good tool for scheduling tasks that are required to run at regular intervals

a)

batch

b)

crontab

c)

cron

d)

status