Deck 11: Common Administrative Tasks
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
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/32
Play
Full screen (f)
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)/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
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
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
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
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
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
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
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
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)//
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
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
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
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
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
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
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
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