LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   If set LOG_OK_LOGINS to 'yes' in login.defs, where are log-data of LOG_OK logged? (http://www.linuxquestions.org/questions/slackware-14/if-set-log_ok_logins-to-%27yes%27-in-login-defs-where-are-log-data-of-log_ok-logged-4175442472/)

k.um 12-21-2012 12:04 PM

If set LOG_OK_LOGINS to 'yes' in login.defs, where are log-data of LOG_OK logged?
 
Hello, I'm k.um.
I want to know OK_DATA at login.
and I set 'LOG_OK_LOGINS' to 'yes' in /etc/login.defs,
but I don't know where that log-data are created.
Please tell me how to log at OK.

wildwizard 12-22-2012 04:22 AM

/var/log/secure

k.um 12-23-2012 06:25 AM

Thanks,
but the log-data of login was not written in /etc/log/secure, though I did by both root and user.
I am using slackware 12.2 or 13.37.
This changed to PAM, didn't this.(but I don't know.)

wildwizard 12-23-2012 10:33 PM

Quote:

Originally Posted by k.um (Post 4855410)
Thanks,
but the log-data of login was not written in /etc/log/secure, though I did by both root and user.
I am using slackware 12.2 or 13.37.
This changed to PAM, didn't this.(but I don't know.)

It works here in 14.0

You mention PAM, why?
Is this a stock Slackware system or has it been modified?
If core utilities like login have been modified to use PAM then there is no guarantee that anyone can help you.

k.um 12-24-2012 05:51 AM

I have not modified.

k.um 01-09-2013 09:31 PM

Self Res.

I appended 'auth.*' to /etc/syslog.conf.
Code:

# Private authentication message logging:
auth.*;authpriv.*          -/var/log/secure

then, login-info was logged.


All times are GMT -5. The time now is 09:28 AM.