Chapter 10
Which of the following commands can be used to remove a group from a Linux system? (Choose all that apply.)
delgroup
Emily accidentally created a new user account on the wrong server. Which of the following commands could she use to delete the account she created? (Choose all that apply.)
deluser
Which of the following is the log file where the Debian Package Manager writes entries for actions taken and packages installed?
dpkg.log
Which of the following commands can a user run to display the groups that they are a member of?
groups
Which of the following commands can you use to view events within the journald database?
journalctl
Which of the following commands can be used to set the default printer for all users on a Linux system where printer1 is the name of the printer?
lpoptions -d printer1
Which of the following commands can you use to send a print job to printer1? (Choose all that apply.)
lpr -P printer1 mydocument.txt lp -d printer1 mydocument.txt
Which of the following two commands can be used to add custom log file entries to the journald database? (Choose two.)
systemd-cat logger
Which of the following is the first field of the /etc/passwd file?
username
Which of the following entries could be added to the rsyslog.conf configuration file to have all syslog messages displayed to console 10?
*.* /dev/tty10
In which file can you configure rules for logging on a Linux system?
/etc/rsyslog.conf
What is the path to where the journald.conf file is located?
/etc/systemd/journald.conf
Which of the following files stores information about failed logins on a Linux system?
/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?
chage -l jsmith
Which of the following commands can be used to pause a printer named Printer1?
cupsdisable Printer1