Linux Module 10 Flashcards

1
Q

The process of sending print jobs from the printer queue to the printer is called?

A

Printing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You can clear a log file simply by redirecting nothing in to it. True or False?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When a printer is disabled :

A

The print queue does accept jobs into the print queue and holds them there until the printer is enabled again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the name used to describe a user providing a user name and password to log in to a system?

A

Authorization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command can you use to lock a user account?

A

usermod -L username

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which command can be used to alter the primary group associated with a given user temporarily?

A

newgrp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which command can be used to send a print job to default printer named Printer1?

A

lp -d Printer 1 file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the name of the file that contains a listing of all users on the system and their home directories?

A

/etc/passwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

UIDs and GIDs are unique to the system and once used can never be reused?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the name for the utility used to rotate log files?

A

logorotate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You can lock a user account by changing the default login shell to an invalid shell in /etc/passw

A

True``

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When a printer is rejecting requests, ______

A

The print queue does not accept jobs and sends a msessage to the user noting that the printer is unavailable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When referring to the /etc/rsyslog.conf file, this term specifies information from a certain area of the system, whereas this term is the level of importance of that information.

A

facility, priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Most log files on the system are found in which directory?

A

/var/log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation?

A

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command can you use to view journald log entries on a system that uses Systemd?

A

journalctl

17
Q

Which command would you use to unlock a user account?

A

usermod -U username

18
Q

Along with a listing of user accounts, the /etc/passwd file also contains information on account expiry. True or False?

A

False

19
Q

You use lpstat and determine that a user named User1 has placed two large print jobs in the queue for Printer1 that have yet to start printing. They have print job IDs of Printer1-17 and Printer1-21, respectively. Which command would you use to remove these two jobs from the print queue?

A

cancel printer1-17 printer1-21

20
Q

Which command is used to delete a user account?

A

userdel “username”