1Z0-821 · Question #90
Which files must be edited in order to set up logging of all failed login attempts?
The correct answer is B. /etc/default/login, /var/adm/authlog, /etc/syslog.conf. This procedure captures in a syslog file all failed login attempts. 1. Set up the /etc/default/login file with the desired values for SYSLOG and SYSLOG_FAILED_LOGINS Edit the /etc/default/login file to change the entry. Make sure that SYSLOG=YES is 2. Create a file with the…
Question
Which files must be edited in order to set up logging of all failed login attempts?
Options
- A/etc/default/login, /var/adm/loginlog, /etc/syslog.conf
- B/etc/default/login, /var/adm/authlog, /etc/syslog.conf
- C/var/adm/loginlog, /var/adm/authlog, /etc/syslog.conf
- D/etc/default/login, /var/adm/authlog, /var/adm/loginlog
How the community answered
(54 responses)- A11% (6)
- B78% (42)
- C4% (2)
- D7% (4)
Explanation
This procedure captures in a syslog file all failed login attempts. 1. Set up the /etc/default/login file with the desired values for SYSLOG and SYSLOG_FAILED_LOGINS Edit the /etc/default/login file to change the entry. Make sure that SYSLOG=YES is 2. Create a file with the correct permissions to hold the logging information. Create the authlog file in the /var/adm directory. 3. Edit the syslog.conf file to log failed password attempts. Send the failures to the authlog file.
Topics
Community Discussion
No community discussion yet for this question.