Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su.log
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ReeferMac
Guru
Guru


Joined: 30 May 2004
Posts: 389

PostPosted: Wed Aug 25, 2004 12:47 am    Post subject: su.log Reply with quote

OK, I'm really showing my Solaris background... but you folks have always shown me Linux is up to snuff...

I miss /var/adm/su.log

The system would log all su attempts/successes. Is that function available in Linux? I remember having to turn it on somehow in Solaris, but forget how (and wouldn't know if it's the same in Linux).
Thanks for putting up w/ the questions.

- Mac
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Aug 25, 2004 2:12 am    Post subject: Reply with quote

That should be included in /var/log/auth.log

--rtn
Back to top
View user's profile Send private message
lwithers
Guru
Guru


Joined: 31 Dec 2003
Posts: 300
Location: Reading, UK

PostPosted: Wed Aug 25, 2004 9:58 am    Post subject: Reply with quote

You should be able to configure your logger to output to that file if you wish. I use syslog-ng and have done this; I know you can also do it with metalog as well.
Back to top
View user's profile Send private message
dannycool
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 111
Location: Karlsruhe Germany

PostPosted: Wed Aug 25, 2004 10:03 am    Post subject: Reply with quote

Use syslog-ng as a logger, it's amazing what you can configure it to do... I think it can play tetris in /var/log/messages if you tell it to. Oh and speaking of /var/log/messages, that's where su related messages should end up if you didn't set it up in any other way.
Back to top
View user's profile Send private message
ReeferMac
Guru
Guru


Joined: 30 May 2004
Posts: 389

PostPosted: Wed Aug 25, 2004 10:05 am    Post subject: Reply with quote

rtn wrote:
That should be included in /var/log/auth.log


I don't have that file currently. How do I turn on the logging?

- Mac
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Wed Aug 25, 2004 10:25 am    Post subject: Reply with quote

If you want you could start here: http://www.balabit.com/products/syslog_ng/reference/book1.html

I think that looking at this could be very useful: http://www.gentoo.org/doc/en/gentoo-security.xml#doc_chap4

.....Gentoo best documented distro ever....... :D
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Aug 25, 2004 3:15 pm    Post subject: Reply with quote

ReeferMac wrote:
rtn wrote:
That should be included in /var/log/auth.log


I don't have that file currently. How do I turn on the logging?

- Mac



Errrr -- that's generated from syslog, and it's default with sysklogd.
Other syslog daemons will be configured differently, so YMMV.

--rtn
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum