LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-13-2006, 07:01 PM   #1
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Rep: Reputation: 15
Logging/syslog


I would think that when I su to another user that the info from the switch would be in the /var/log/secure file. Where does it go?
 
Old 03-13-2006, 07:41 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
It does get logged to /var/log/secure on Slackware:
Code:
Mar 13 09:37:18 trinity su[15809]: + pts/1 steve-root
You could try something like the following to find where it's being logged on your system:
Code:
grep -l '\<su\>' /var/log/*
 
Old 03-13-2006, 08:36 PM   #3
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks! I really need to get more educated with grep usage. This command really helped.
 
  


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
Logging firewall with syslog-ng? RecoilUK Linux - Security 1 08-06-2005 05:28 PM
Syslog logging Cron logins rhoekstra Fedora 4 02-17-2005 03:45 AM
syslog running but not logging tantric Linux - Security 1 10-15-2003 08:24 AM
logging information into syslog prisam Linux - Security 1 08-05-2003 10:58 AM
SYSLOG - logging to Remote Host dvong3 Linux - Networking 4 09-24-2002 08:14 AM


All times are GMT -5. The time now is 09:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration