![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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 |