Deck 11: Common Administrative Tasks

Full screen (f)
exit full mode
Question
The skeleton directory on most Linux systems is ____.

A)/etc/skel
B)/var/skel
C)/etc/skeleton
D)/var/skeleton
Use Space or
up arrow
down arrow
to flip the card.
Question
The ____ priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database.

A)info
B)alert
C)debug
D)panic
Question
To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run the ____ command.

A)passwdconv
B)pwconv
C)passwd
D)pwdcv
Question
CUPS contains versions of the lpr , lpc , lpq , and lprm commands.
Question
To lock an account, you can use the usermod command with the ____ option.

A)-U
B)-u
C)-l
D)-L
Question
You can create user accounts on the Linux system by using the ____ command.

A)uadd
B)usercreate
C)adduser
D)useradd
Question
The ____ option to the lpstat command causes a list of printers that are enabled to be displayed.

A)-o
B)-a
C)-p
D)-e
Question
Log files are typically stored in the ____ directory.

A)/dev/log
B)/var/log
C)/boot/log
D)/log
Question
If you want to enable a printer, you must specify the full path to the enable command.
Question
You can restrict who can print to certain printers by using the ____ command.

A)lpadmin
B)lpa
C)lpr
D)admin
Question
To see a list of all printers on the system and their status, you can use the -t option to the ____ command.

A)lp
B)lpr
C)lps
D)lpstat
Question
Any line that starts with a(n)____ character is a comment in the /etc/syslog.conf file.

A)&
B)$
C)#
D)//
Question
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
Question
To send a print job to a printer, you must first use the ____ command and specify what to print.

A)print
B)pl
C)lp
D)pr
Question
You can specify the ____ option to the userdel command to remove the home directory for the user and all of its contents.

A)-r
B)-d
C)-R
D)-x
Question
A user can only be a member of one group.
Question
By default, all print jobs have a priority of ____.

A)-50
B)0
C)50
D)100
Question
After adding or modifying printer settings, you must restart the CUPS daemon for the settings to take effect.
Question
The ____ log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd.

A)wtmp
B)messages
C)dmesg
D)secure
Question
The lp command uses the ____ option to specify the destination printer name.

A)-n
B)-p
C)-d
D)-l
Question
Match between columns
The unique User ID that is assigned to each user.
logrotate
The unique User ID that is assigned to each user.
spooling
The unique User ID that is assigned to each user.
CUPS
The unique User ID that is assigned to each user.
primary group
The unique User ID that is assigned to each user.
UID
The unique User ID that is assigned to each user.
GID
The unique User ID that is assigned to each user.
facility
The unique User ID that is assigned to each user.
syslogd
The unique User ID that is assigned to each user.
LPD
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
logrotate
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
spooling
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
CUPS
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
primary group
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
UID
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
GID
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
facility
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
syslogd
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
LPD
Daemon that handles the logging of most events.
logrotate
Daemon that handles the logging of most events.
spooling
Daemon that handles the logging of most events.
CUPS
Daemon that handles the logging of most events.
primary group
Daemon that handles the logging of most events.
UID
Daemon that handles the logging of most events.
GID
Daemon that handles the logging of most events.
facility
Daemon that handles the logging of most events.
syslogd
Daemon that handles the logging of most events.
LPD
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
logrotate
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
spooling
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
CUPS
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
primary group
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
UID
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
GID
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
facility
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
syslogd
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
LPD
The primary Group ID for a user.
logrotate
The primary Group ID for a user.
spooling
The primary Group ID for a user.
CUPS
The primary Group ID for a user.
primary group
The primary Group ID for a user.
UID
The primary Group ID for a user.
GID
The primary Group ID for a user.
facility
The primary Group ID for a user.
syslogd
The primary Group ID for a user.
LPD
Accepting print jobs into a print queue.
logrotate
Accepting print jobs into a print queue.
spooling
Accepting print jobs into a print queue.
CUPS
Accepting print jobs into a print queue.
primary group
Accepting print jobs into a print queue.
UID
Accepting print jobs into a print queue.
GID
Accepting print jobs into a print queue.
facility
Accepting print jobs into a print queue.
syslogd
Accepting print jobs into a print queue.
LPD
The group that is made the group owner of any file or directory that the user creates.
logrotate
The group that is made the group owner of any file or directory that the user creates.
spooling
The group that is made the group owner of any file or directory that the user creates.
CUPS
The group that is made the group owner of any file or directory that the user creates.
primary group
The group that is made the group owner of any file or directory that the user creates.
UID
The group that is made the group owner of any file or directory that the user creates.
GID
The group that is made the group owner of any file or directory that the user creates.
facility
The group that is made the group owner of any file or directory that the user creates.
syslogd
The group that is made the group owner of any file or directory that the user creates.
LPD
A printing system used by many older Linux computers.
logrotate
A printing system used by many older Linux computers.
spooling
A printing system used by many older Linux computers.
CUPS
A printing system used by many older Linux computers.
primary group
A printing system used by many older Linux computers.
UID
A printing system used by many older Linux computers.
GID
A printing system used by many older Linux computers.
facility
A printing system used by many older Linux computers.
syslogd
A printing system used by many older Linux computers.
LPD
The most common printing system used on Linux computers.
logrotate
The most common printing system used on Linux computers.
spooling
The most common printing system used on Linux computers.
CUPS
The most common printing system used on Linux computers.
primary group
The most common printing system used on Linux computers.
UID
The most common printing system used on Linux computers.
GID
The most common printing system used on Linux computers.
facility
The most common printing system used on Linux computers.
syslogd
The most common printing system used on Linux computers.
LPD
Question
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
Question
To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use the ____ command.

A)newgroup
B)groupmod
C)newgrp
D)groupadd
Question
Describe the commands used in the LPD printing system. What CUPS printing system commands do they correspond to?
Question
How do you delete a user account? When you delete a user account, what gets deleted and what does not? What happens to the user's files?
Question
Describe the process of sending information to a printer (specifically, using the CUPS daemon).
Question
In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.
Question
On a CUPS printing system, to remove a print job that is in the print queue, you can use the ____________________ command followed by the print job IDs of the jobs to remove.
Question
A set of information that is sent to a printer at the same time is called a(n)____________________.
Question
Describe how the /etc/passwd and /etc/shadow directories are used in the authentication process. Why are two files used instead of one? How can you convert a system to use the /etc/shadow file to store passwords?
Question
Why should log files be periodically cleared? What methods can be used to clear log files?
Question
The Printer Configuration tool is used to configure the ____________________.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Common Administrative Tasks
1
The skeleton directory on most Linux systems is ____.

A)/etc/skel
B)/var/skel
C)/etc/skeleton
D)/var/skeleton
A
2
The ____ priority used by the System Log Daemon indicates an error that should be rectified immediately, such as a corrupt system database.

A)info
B)alert
C)debug
D)panic
B
3
To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run the ____ command.

A)passwdconv
B)pwconv
C)passwd
D)pwdcv
B
4
CUPS contains versions of the lpr , lpc , lpq , and lprm commands.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
5
To lock an account, you can use the usermod command with the ____ option.

A)-U
B)-u
C)-l
D)-L
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
6
You can create user accounts on the Linux system by using the ____ command.

A)uadd
B)usercreate
C)adduser
D)useradd
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ option to the lpstat command causes a list of printers that are enabled to be displayed.

A)-o
B)-a
C)-p
D)-e
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
8
Log files are typically stored in the ____ directory.

A)/dev/log
B)/var/log
C)/boot/log
D)/log
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
9
If you want to enable a printer, you must specify the full path to the enable command.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
10
You can restrict who can print to certain printers by using the ____ command.

A)lpadmin
B)lpa
C)lpr
D)admin
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
11
To see a list of all printers on the system and their status, you can use the -t option to the ____ command.

A)lp
B)lpr
C)lps
D)lpstat
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
12
Any line that starts with a(n)____ character is a comment in the /etc/syslog.conf file.

A)&
B)$
C)#
D)//
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
13
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
14
To send a print job to a printer, you must first use the ____ command and specify what to print.

A)print
B)pl
C)lp
D)pr
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
15
You can specify the ____ option to the userdel command to remove the home directory for the user and all of its contents.

A)-r
B)-d
C)-R
D)-x
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
16
A user can only be a member of one group.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
17
By default, all print jobs have a priority of ____.

A)-50
B)0
C)50
D)100
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
18
After adding or modifying printer settings, you must restart the CUPS daemon for the settings to take effect.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
19
The ____ log file contains information and error messages regarding network access generated by daemons such as sshd and xinetd.

A)wtmp
B)messages
C)dmesg
D)secure
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
20
The lp command uses the ____ option to specify the destination printer name.

A)-n
B)-p
C)-d
D)-l
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
21
Match between columns
The unique User ID that is assigned to each user.
logrotate
The unique User ID that is assigned to each user.
spooling
The unique User ID that is assigned to each user.
CUPS
The unique User ID that is assigned to each user.
primary group
The unique User ID that is assigned to each user.
UID
The unique User ID that is assigned to each user.
GID
The unique User ID that is assigned to each user.
facility
The unique User ID that is assigned to each user.
syslogd
The unique User ID that is assigned to each user.
LPD
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
logrotate
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
spooling
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
CUPS
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
primary group
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
UID
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
GID
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
facility
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
syslogd
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
LPD
Daemon that handles the logging of most events.
logrotate
Daemon that handles the logging of most events.
spooling
Daemon that handles the logging of most events.
CUPS
Daemon that handles the logging of most events.
primary group
Daemon that handles the logging of most events.
UID
Daemon that handles the logging of most events.
GID
Daemon that handles the logging of most events.
facility
Daemon that handles the logging of most events.
syslogd
Daemon that handles the logging of most events.
LPD
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
logrotate
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
spooling
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
CUPS
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
primary group
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
UID
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
GID
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
facility
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
syslogd
Utility used to back up and clear log files from entries stored in the /etc/logrotate.conf file and files stored in the /etc/logrotate.d directory.
LPD
The primary Group ID for a user.
logrotate
The primary Group ID for a user.
spooling
The primary Group ID for a user.
CUPS
The primary Group ID for a user.
primary group
The primary Group ID for a user.
UID
The primary Group ID for a user.
GID
The primary Group ID for a user.
facility
The primary Group ID for a user.
syslogd
The primary Group ID for a user.
LPD
Accepting print jobs into a print queue.
logrotate
Accepting print jobs into a print queue.
spooling
Accepting print jobs into a print queue.
CUPS
Accepting print jobs into a print queue.
primary group
Accepting print jobs into a print queue.
UID
Accepting print jobs into a print queue.
GID
Accepting print jobs into a print queue.
facility
Accepting print jobs into a print queue.
syslogd
Accepting print jobs into a print queue.
LPD
The group that is made the group owner of any file or directory that the user creates.
logrotate
The group that is made the group owner of any file or directory that the user creates.
spooling
The group that is made the group owner of any file or directory that the user creates.
CUPS
The group that is made the group owner of any file or directory that the user creates.
primary group
The group that is made the group owner of any file or directory that the user creates.
UID
The group that is made the group owner of any file or directory that the user creates.
GID
The group that is made the group owner of any file or directory that the user creates.
facility
The group that is made the group owner of any file or directory that the user creates.
syslogd
The group that is made the group owner of any file or directory that the user creates.
LPD
A printing system used by many older Linux computers.
logrotate
A printing system used by many older Linux computers.
spooling
A printing system used by many older Linux computers.
CUPS
A printing system used by many older Linux computers.
primary group
A printing system used by many older Linux computers.
UID
A printing system used by many older Linux computers.
GID
A printing system used by many older Linux computers.
facility
A printing system used by many older Linux computers.
syslogd
A printing system used by many older Linux computers.
LPD
The most common printing system used on Linux computers.
logrotate
The most common printing system used on Linux computers.
spooling
The most common printing system used on Linux computers.
CUPS
The most common printing system used on Linux computers.
primary group
The most common printing system used on Linux computers.
UID
The most common printing system used on Linux computers.
GID
The most common printing system used on Linux computers.
facility
The most common printing system used on Linux computers.
syslogd
The most common printing system used on Linux computers.
LPD
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
22
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
23
To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use the ____ command.

A)newgroup
B)groupmod
C)newgrp
D)groupadd
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
24
Describe the commands used in the LPD printing system. What CUPS printing system commands do they correspond to?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
25
How do you delete a user account? When you delete a user account, what gets deleted and what does not? What happens to the user's files?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
26
Describe the process of sending information to a printer (specifically, using the CUPS daemon).
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
27
In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
28
On a CUPS printing system, to remove a print job that is in the print queue, you can use the ____________________ command followed by the print job IDs of the jobs to remove.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
29
A set of information that is sent to a printer at the same time is called a(n)____________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
30
Describe how the /etc/passwd and /etc/shadow directories are used in the authentication process. Why are two files used instead of one? How can you convert a system to use the /etc/shadow file to store passwords?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
31
Why should log files be periodically cleared? What methods can be used to clear log files?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
32
The Printer Configuration tool is used to configure the ____________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 32 flashcards in this deck.