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 10-22-2015, 02:51 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Rep: Reputation: 27
Arrow Location of sudo log in openSUSE 13.2


Hi everyone,

The subject of this thread is self-explanatory. I know that I can find the logs for sudo in /var/log/secure and /var/log/auth.log on CentOS and Debian, respectively. The thing is, I have begun to work on openSUSE 13.2 and can't seem to be able to find the sudo log. The sudoers file does not mention anything either.

Any ideas?
 
Old 10-22-2015, 04:09 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
opensuse a long time ago moved to a journal log

have a look at
Code:
su -
systemd-journalctl --help
https://activedoc.opensuse.org/book/...systemd-daemon
and
https://activedoc.opensuse.org/book/...stem-log-files
 
Old 10-22-2015, 06:56 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On Arch, which is also using systemd-journald the command to get sudo specific log entries is
Code:
journalctl -t sudo
Should be similar on openSuse.
 
Old 10-22-2015, 08:54 PM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Original Poster
Rep: Reputation: 27
Thank you guys!
Both of your answers pointed me in the right directorion, that is, look into journalctl for the sudo log, and it was indeed there.
Just a small note: at least in openSUSE 13.2, journalctl does not have a -t option, so I just did
Code:
journalctl | grep sudo
as a quick inspection and that did the trick.
I am marking these thread as solved and your replies as helpful. Thanks again!
 
  


Reply

Tags
log, opensuse, sudo


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
Location of Sudo in Centos ssaqib Linux - Newbie 7 11-08-2012 10:38 AM
Unable to redirect all sudo messages to /var/log/sudo driftwood Linux - Server 2 10-18-2012 04:34 AM
location of iptables in opensuse 11.2 mrbutabara Linux - Newbie 2 05-05-2010 10:48 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Location of the Makefile and Kconfig files on OpenSuse 10.2 morrisfury Linux - Newbie 3 01-21-2007 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 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