Filters
Question type

Study Flashcards

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

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

If you want to enable a printer, you must specify the full path to the enable command.

A) True
B) False

Correct Answer

verifed

verified

In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.

Correct Answer

verifed

verified

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

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

D

To lock an account, you can use the usermod command with the ____ option.


A) -U
B) -u
C) -l
D) -L

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

D

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

E) All of the above
F) A) and C)

Correct Answer

verifed

verified

You can restrict who can print to certain printers by using the ____ command.


A) lpadmin
B) lpa
C) lpr
D) admin

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Match each term with the correct statement below.

Premises
The unique User ID that is assigned to each user.
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
Daemon that handles the logging of most events.
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.
The primary Group ID for a user.
Accepting print jobs into a print queue.
The group that is made the group owner of any file or directory that the user creates.
A printing system used by many older Linux computers.
The most common printing system used on Linux computers.
Responses
CUPS
syslogd
GID
LPD
logrotate
spooling
UID
primary group
facility

Correct Answer

The unique User ID that is assigned to each user.
For non-comment entries in the /etc/syslog.conf file, the area of the system to listen to.
Daemon that handles the logging of most events.
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.
The primary Group ID for a user.
Accepting print jobs into a print queue.
The group that is made the group owner of any file or directory that the user creates.
A printing system used by many older Linux computers.
The most common printing system used on Linux computers.

The lp command uses the ____ option to specify the destination printer name.


A) -n
B) -p
C) -d
D) -l

E) B) and C)
F) All of the above

Correct Answer

verifed

verified

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

E) All of the above
F) B) and D)

Correct Answer

verifed

verified

The skeleton directory on most Linux systems is ____.


A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

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?

Correct Answer

verifed

verified

The system database that contains user a...

View Answer

On most Linux systems, the logrotate utility is automatically scheduled to run weekly.

A) True
B) False

Correct Answer

verifed

verified

By default, all print jobs have a priority of ____.


A) -50
B) 0
C) 50
D) 100

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

CUPS contains versions of the lpr , lpc , lpq , and lprm commands.

A) True
B) False

Correct Answer

verifed

verified

Any line that starts with a(n) ____ character is a comment in the /etc/syslog.conf file.


A) &
B) $
C) #
D) //

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

You can create user accounts on the Linux system by using the ____ command.


A) uadd
B) usercreate
C) adduser
D) useradd

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

A set of information that is sent to a printer at the same time is called a(n)____________________.

Correct Answer

verifed

verified

After adding or modifying printer settings, you must restart the CUPS daemon for the settings to take effect.

A) True
B) False

Correct Answer

verifed

verified

The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.

Correct Answer

verifed

verified

kern

Showing 1 - 20 of 32

Related Exams

Show Answer