LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 03-13-2006, 07:01 PM   #1
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80
Thanked: 0
Logging/syslog


[Log in to get rid of this advertisement]
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?
s0n|k is offline     Reply With Quote
Old 03-13-2006, 07:41 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware 12.1, Slackware 13.0
Posts: 3,788
Thanked: 20
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/*
gilead is offline     Reply With Quote
Old 03-13-2006, 08:36 PM   #3
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80
Thanked: 0

Original Poster
Thanks! I really need to get more educated with grep usage. This command really helped.
s0n|k is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 12:56 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration