ITN 170, Chapt 10-14 Flashcards

admin

Textbook solutions

Students also studied

Study guides

Java Programming 9th Edition by Joyce Farrell

Java Programming

9th EditionISBN: 9781337671385 (1 more)Joyce Farrell

702 solutions

Practice questions for this set

Which of the following commands can be used to tát back up files in case of system failure, supports long filenames, and can also back up device files?
sysbackup
cpio
diskdup
bkup

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

After compiling source code, which command still needs to tát be lập cập in order to tát copy the newly compiled binaries into a directory listed in the PATH variable as well as copy supporting files (such as man pages) to tát the correct location on the filesystem?
make clean
make
make install
make image

Which of the following commands can be used to tát force udev to tát reload new rules from the /etc/udev/rules directory? (Choose all that apply.)
udevadm control -R
udevadm control -r
udevadm --reload
udevadm control -Rall C

In which tệp tin can you configure rules for logging on a Linux system?
A-/etc/syslog.rules
B-/etc/rsyslog.conf
C-/etc/syslog.rules.conf
D-/etc/syslogd.conf

Which of the following two commands can be used to tát add custom log tệp tin entries to tát the journald database? (Choose two.)
A-mklog
B-systemd-cat
C-logger
D-systemd-make
E- logentry

Which of the following is the first field of the /etc/passwd file?
A-username
B-GID
C-GECOS
D-UID

Which of the following is the log tệp tin where the Debian Package Manager writes entries for actions taken and packages installed?
A-dpackage.log
B-dpm.log
C-dpkg.log
D-packages.log

The System Log Daemon, rsyslogd, creates a socket for other system processes to tát write to tát. What is the path to tát this socket?
A-/dev/log
B-/etc/rsyslog.socket
C-/tmp/log
D-/var/log.sock

Which of the following will display the contents of the /etc/shadow file? (Choose all that apply.)
A-cat /etc/shadow
B-read /etc/shadow
C-getent /etc/shadow
D-show /etc/shadow

Which of the following commands can be used to tát remove a group from a Linux system? (Choose all that apply.)
A-delgroup
B-rmgroup
C-rmg
D-groupdel

Which of the following options can be used with the usermod command to tát change the mô tả tìm kiếm of the user trương mục that is stored in the GECOS field?
A.-c
B.-s
C.-d
D.-g

Which of the following commands can be used to tát mix the number of days until user trương mục jsmith with an expired password is disabled?
A-usermod -d 15 jsmith
B-usermod -x 15 jsmith
C-usermod -e 15 jsmith
D-usermod -f 15 jsmith

Which of the following commands can be used to tát delete a user account?
A-rmuser
B-deluser
C-userdel
D-expireuser

Which of the following will show trương mục 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 -u jsmith
usermod --expiry jsmith
chage -l jsmith
lsuser jsmith

Emily accidentally created a new user trương mục on the wrong server. Which of the following commands could she use to tát delete the trương mục she created? (Choose all that apply.)
deluser
userdel
usermod -r
usermod -d

Which of the following entries could be added to tát the rsyslog.conf configuration tệp tin to tát have all syslog messages displayed to tát console 10?
all /dev/tty10
. /dev/tty10
/dev/tty10 is the location console 10 that it should write to tát.
rsyslog tty10
/var/log/* tty10

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

Which of the following commands can be used to tát pause a printer named Printer1?
cupsdisable -c Printer1
cupsreject -p Printer1
cupsdisable Printer1
cupsreject Printer1