Linux chapter 10 homework

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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

/etc/passwd

Most log files on the system are found in which directory

/var/log

Along with a listing of user accounts, the /etc/passwd file contains information on account expiry

False

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

authenication

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?

cancel Printer1-17 Printer1-21

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

etc/login.defs

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

facility, priority

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

false

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

journalctl

What is the name of the utility used to rotate log files

lograte

Which command can be used to send a print job to the default printer named Printer1? (Choose all that apply.)

lp file lp -d Printer1 file

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

newgrp

Which command would you use to unlock a user account?

passwd -u username

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

printing

When a printer is disabled, _____.

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

When a printer is rejecting requests, _____

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

You can clear a log file simply by redirecting nothing into it

true

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

true

Which command is used to delete a user account?

userdel username

Which command can you use to lock a user account?

usermod -L username


Set pelajaran terkait

BIO 161 ch. 17 - Transcription, RNA processing, and Translation

View Set

Metals and Their Physical Properties

View Set

7 Major Schools of Thought in Psychology:

View Set

Pluto, Dwarf Planets, and/ or Planet X

View Set

Symbols for Categorical and Quantitative Variables

View Set

Biology - Chapter 6 Mastering HW Assignment

View Set

HESI Case Study - Hip Fracture and Cellulitis

View Set

Indian History, From Shastri to Gandhi (16).

View Set

Ch 6 Confidentiality: Ethical and Legal Issues

View Set