LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2014, 04:50 PM   #1
tarken
Member
 
Registered: Jan 2010
Location: Portland
Distribution: Xubuntu
Posts: 68

Rep: Reputation: 16
Where is the secure log in Fedora 20?


I just installed a FC20 server. I am working on getting some security setup on it. However, I cant seem to find any of the log files? I am trying to figure out where the successful and failed login attempts for SSH is. I thought it was /var/log/secure or /var/log/messages, however, neither of these exist. Did something change?

Tark
 
Old 08-11-2014, 05:00 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,093

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Code:
[schneidz@mom media]$ uname -a -m -p
Linux mom 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[schneidz@mom media]$ ll /var/log/secure /var/log/messages
-rw-------. 1 root root 3444018 Aug 11 18:00 /var/log/messages
-rw-------. 1 root root    2775 Aug 11 17:59 /var/log/secure
 
Old 08-11-2014, 05:18 PM   #3
tarken
Member
 
Registered: Jan 2010
Location: Portland
Distribution: Xubuntu
Posts: 68

Original Poster
Rep: Reputation: 16
Code:
[root@EvilServer /]# uname -a -m -p
Linux EvilServer 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@EvilServer /]# ls /var/log/
anaconda  boot.log  chrony  dnf.log      gdm        grubby   lastlog  ppp     samba              sssd      wtmp        yum.log
audit     btmp      cups    dnf.rpm.log  glusterfs  journal  pluto    README  speech-dispatcher  tallylog  Xorg.0.log  yum.log-20140811
Weird. Have I done something wrong?
 
Old 08-11-2014, 06:53 PM   #4
tarken
Member
 
Registered: Jan 2010
Location: Portland
Distribution: Xubuntu
Posts: 68

Original Poster
Rep: Reputation: 16
Figured it out. In Fedora 20 they are no longer using rsyslog by default. In case anyone else runs into this:

http://carlos-spitzer.com/2013/12/28...ogging-daemon/

Tark
 
Old 08-11-2014, 07:00 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,417

Rep: Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013Reputation: 2013
Fedora no longer ships a syslog component - systemd and journalctl are now your friends.
Apparently.

There is a fair learning curve. As root, just type in journalctl to get your logs - there are a bunch of options which the manpage does its best to obfuscate.
It is possible to add [r]syslogd or similar if you wish - I think I saw a post from unSpawn a day or two back.
cancel that comment - unSpawn was discussing firewalls not syslog

Last edited by syg00; 08-11-2014 at 07:06 PM. Reason: strike
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure log help the182guy Linux - Newbie 1 11-30-2010 05:30 AM
Fedora 11; Missing a day in /var/log/secure Puzzled, and concerned... jlumpkins Linux - Security 1 11-09-2009 05:45 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
secure log-in jcubed LQ Suggestions & Feedback 3 08-24-2005 05:24 PM
/var/log/secure ??? MikeFoo1 Linux - Security 2 06-22-2005 03:42 AM


All times are GMT -5. The time now is 04:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration