LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2012, 12:04 PM   #1
k.um
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Rep: Reputation: 0
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.
 
Old 12-22-2012, 04:22 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
/var/log/secure
 
Old 12-23-2012, 06:25 AM   #3
k.um
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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.)
 
Old 12-23-2012, 10:33 PM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by k.um View Post
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.
 
Old 12-24-2012, 05:51 AM   #5
k.um
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I have not modified.
 
Old 01-09-2013, 09:31 PM   #6
k.um
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Self Res.

I appended 'auth.*' to /etc/syslog.conf.
Code:
# Private authentication message logging:
auth.*;authpriv.*          -/var/log/secure
then, login-info was logged.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LOGIN.DEFS defaults Linux_Kidd Linux - Server 3 09-04-2012 08:24 AM
Failed logins are logged to syslog with the login id set to UNKNOWN or UNSET ssnodgra Linux - Security 1 06-12-2011 07:34 AM
login.defs password expiry noir911 Linux - General 1 01-07-2007 11:38 AM
/etc/login.defs binary_0011 Linux - Newbie 1 11-06-2006 08:44 PM
How do I make SSH use the MAIL variable set by /etc/login.defs? RyanA Linux - Software 1 08-15-2003 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration