The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Issue with user logging in to HP UX Server michaelgim HP-UX 1 02-12-2008 03:12 AM
key logging lakshmananindia UNIX for Advanced & Expert Users 1 12-26-2007 06:00 AM
Tracing a user and logging his actions adel8483 SUN Solaris 2 03-28-2007 04:24 PM
SSH Logging? esser OS X (Apple) 0 03-10-2005 01:56 PM
Logging pcs7088 UNIX for Dummies Questions & Answers 1 07-12-2001 07:20 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-12-2003
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
Unhappy User logging log

Hi,

Does anybody knows is there a way or how to records user logging record?

thanks in advance
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Forum Sponsor
  #2  
Old 10-13-2003
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
you need the following entry in

in /etc/syslog.conf


*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

then issue
kill -HUP "syslog pid"
  #3  
Old 10-13-2003
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
by adding this to the syslog.conf and issue the command, what does it do?

Am I able to list out all the users that logged in to the specific system?

*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

then issue
kill -HUP "syslog pid"


__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
  #4  
Old 10-13-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Hi Jennifer,

There is a different way to find out who actualy logged into the system.

"last" displays this to you.
"last -R" Also shows you where they came from.
"lastb" shows you who tried, but where refused.

If you want this in a file just redirect the output :

"last -R 1>/tmp/lastlogin"

"man last" if you need more info on the command.


Regs David
  #5  
Old 10-14-2003
Registered User
 

Join Date: Aug 2001
Location: Singapore
Posts: 32
Smile

Hi David,

Thanks, thats the results I want.
__________________
Jennifer Koh
Technical supprt Officer / Sys Admin
Nanyang Polytechnic
180 Ang Mo Kio Ave 8
Singapore 569830
Electronics Design Centre
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0