Linux 1 Chapter 10 Questions

¡Supera tus tareas y exámenes ahora con Quizwiz!

In which file can you configure rules for logging on a Linux system? a. /etc/rsyslog.conf b. /etc/syslog.rules c. /etc/syslog.rules.conf d. /etc/syslogd.conf

/etc/rsyslog/conf

In which of the following directories can you place files that will be copied to new user directories when new users are created? a. /etc/rc.d b. /etc/skel c. /usr/local/template d. /usr/local/useradd

/etc/skel

Which of the following files stores information about failed logins on a Linux system? a. /var/log/btmp b. /var/log/wtmp c. /var/log/nolo d. /var/log/failed

/var/log/btmp

Which of the following will show account aging information for a user such as the date of the last password change, when the password expires, and the number of days of warning before the password expires? a. usermod --expiry jsmith b. chage -u jsmith c. chage -l jsmith d. lsuser jsmith

chage -l jsmith

Which of the following is the log file where the Debian Package Manager writes entries for actions taken and packages installed? a. dpm.log b. dpkg.log c. dpackage.log d. packages.log

dpkg.log

Which of the following commands can you use to view events within the journald database? a. journald --list b. journalctl c. journal --display d. viewlogs -journald

journalctl

Which of the following log files contains information and error messages generated by the Linux kernel? a. wtmp b. dmesg c. kern.log d. secure

kern.log

Which of the following is a special group that provides its members with the ability to run the su and sudo commands? a. sudoers b. adm c. wheel d. sys

sudoers

Which of the following commands can be used to delete a user account? a. deluser b. rmuser c. userdel d. expireuser

userdel

Which of the following commands can be used to set the number of days until user account jsmith with an expired password is disabled? a. usermod -f 15 jsmith b. usermod -d 15 jsmith c. usermod -x 15 jsmith d. usermod -e 15 jsmith

usermod -f 15 jsmith


Conjuntos de estudio relacionados

Ch. 12: Fundamentals of the Nervous System and Nervous Tissue

View Set

Chem180; Chapter 2: Measurements

View Set

BICSI Technician- Netcom - Chapter 1

View Set

Nutrition and Nutrition Screening NCLEX

View Set