LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 12-21-2012, 12:04 PM   #1
k.um
LQ Newbie
 
Registered: Jul 2009
Posts: 4

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: 749

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

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: 749

Rep: Reputation: 225Reputation: 225Reputation: 225
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: 4

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: 4

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 05:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration