Deck 10: Common Administrative Tasks
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/45
Play
Full screen (f)
Deck 10: Common Administrative Tasks
1
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
A) print
B) pl
C) lp
D) pr
C
2
If you want to enable a printer, you must specify the printer name to the cupsenable command.
True
3
The file that contains the configuration information for each printer installed on the system is /etc/cups/cupsd.conf. _________________________
False
/etc/cups/printers.conf
/etc/cups/printers.conf
4
By default, all print jobs have a priority of ____.
A) -50
B) 0
C) 50
D) 100
A) -50
B) 0
C) 50
D) 100
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
5
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
A) -o
B) -a
C) -p
D) -e
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
6
Any line that starts with a(n) ____ character is a comment in the /etc/rsyslog.conf file.
A) &
B) $
C) #
D) //
A) &
B) $
C) #
D) //
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
7
Sending print jobs from a print queue to a printer is commonly called printing. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
8
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
A) wtmp
B) messages
C) dmesg
D) secure
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
9
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
A) lp
B) lpr
C) lps
D) lpstat
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
10
CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
11
The lp command uses the ____ option to specify the destination printer name.
A) -n
B) -p
C) -d
D) -l
A) -n
B) -p
C) -d
D) -l
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
12
Log files are typically stored in the ____ directory.
A) /dev/log
B) /var/log
C) /boot/log
D) /log
A) /dev/log
B) /var/log
C) /boot/log
D) /log
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
13
The /etc/login.defs file contains parameters that set the default location for e-mail, password expiration information, minimum password length, range of UIDs and GIDs available for use. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
14
To clear a log file, you can use a(n) < redirection symbol. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
15
Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system.
Unlock Deck
Unlock for access to all 45 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 45 flashcards in this deck.
Unlock Deck
k this deck
17
You can restrict who can print to certain printers by using the ____ command.
A) lpadmin
B) lpa
C) lpr
D) admin
A) lpadmin
B) lpa
C) lpr
D) admin
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
18
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
A) info
B) alert
C) debug
D) panic
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
19
In the CUPS printing system, the lpr command is used to print documents to the print queue. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
20
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
21
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
Accepting print jobs into a print queue.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
Accepting print jobs into a print queue.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
22
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The most common printing system used on Linux computers.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The most common printing system used on Linux computers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
23
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The area of the system to listen to in non-comment entries in the /etc/syslog.conf file.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The area of the system to listen to in non-comment entries in the /etc/syslog.conf file.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
24
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
25
To lock an account, you can use the usermod command with the ____ option.
A) -U
B) -u
C) -l
D) -L
A) -U
B) -u
C) -l
D) -L
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
26
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 45 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 45 flashcards in this deck.
Unlock Deck
k this deck
28
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
A) -r
B) -d
C) -R
D) -x
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
29
_______________________________________________________ represents a text description of the user and is typically left blank.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
30
You can create user accounts on the Linux system by using the ____ command.
A) uadd
B) usercreate
C) adduser
D) useradd
A) uadd
B) usercreate
C) adduser
D) useradd
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
31
The skeleton directory on most Linux systems is ____.
A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton
A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
32
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
A) passwdconv
B) pwconv
C) passwd
D) pwdcv
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
33
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The group that is made the group owner of any file or directory that the user creates.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The group that is made the group owner of any file or directory that the user creates.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
34
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The primary Group ID for a user.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The primary Group ID for a user.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
35
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
A printing system used by many older Linux computers.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
A printing system used by many older Linux computers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
36
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
A) newgroup
B) groupmod
C) newgrp
D) groupadd
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
37
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The unique User ID that is assigned to each user.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
The unique User ID that is assigned to each user.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
38
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 45 flashcards in this deck.
Unlock Deck
k this deck
39
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.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.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.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.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
40
Match each term with the correct statement below.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
Daemon that handles the logging of most events.
a.facility
f.GID
b.LPD
g.spooling
c.rsyslogd
h.CUPS
d.primary group
i.UID
e.logrotate
Daemon that handles the logging of most events.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
41
Describe how the /etc/passwd and /etc/shadow files 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 45 flashcards in this deck.
Unlock Deck
k this deck
42
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 45 flashcards in this deck.
Unlock Deck
k this deck
43
Describe the process of sending information to a printer using the CUPS daemon.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
44
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 45 flashcards in this deck.
Unlock Deck
k this deck
45
Why should log files be periodically cleared? What methods can be used to clear log files?
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck