Chapter 10:

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following commands can a user run to display the groups that the user is a member of?

groupls

Which of the following commands can you use to view events within the journald database?

journalctl

Which of the following entries could be added to the rsyslog.conf configuration file to have all syslog messages displayed to console 10?

rsyslog /dev/tty10

Which of the following commands can be used to delete a user account?

userdel

Which of the following commands can lock a user account?

usermod -L username

Which of the following commands can be used to set the number of days until user account jsmith with an expired password is disabled?

usermod -f 15 jsmith

Which of the following is the first field of the /etc/passwd file?

username

In which file can you configure rules for logging on a Linux system?

/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?

/etc/skel

Which of the following files stores information about failed logins on a Linux system?

/var/log/btmp

Assume that today is 14305 in UNIX epoch time. Currently, the shadow entry for Jay is as follows: Jay:$6$password_hash:14300:0:60:7:10:: Which of the following entry will disable Jay's account 300 days from today.

Jay:$6$password_hash:14300:0:60:7:10:14605:

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 command can change a user's password aging conditions according to the following requirements:The user is allowed to use the same password for 100 days (maximum).The user cannot make more than one password changes within one single day.The system should display warning messages 15 days before the user's password expiry.The grace period before disabling the account after password expiry is one week.

chage -m 1 -M 100 -W 15 -I 7 username

Which of the following commands can be used to pause a printer named Printer1?

cupsdisable Printer1


Ensembles d'études connexes

Exam 4: Chapter 13 (Cognitive Neuroscience)

View Set

Mobility, Activity and Exercise in Older Adults

View Set

Indian States/Union Territories and Capitals

View Set

ch 25 p2, 25 Mult Choice; chapter 25

View Set

Chapter 31: Assessment and Management of Patients With Hypertension

View Set

Movement of Substances across Boundaries

View Set