Track user activity on Unix | Unix Linux Forums | Linux

  Go Back    

Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Track user activity on Unix


linux commands, unix commands

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 11-05-2008
jayfriend jayfriend is offline
Registered User
Join Date: Jan 2007
Last Activity: 10 February 2009, 12:23 PM EST
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Track user activity on Unix

Hi All,

I will be glad if you could throw me some light on the following.

1) How do I track/log the user activity on my unix/ linux machine, I would like to track all the commands issued by the user right from the login & passwd.

2) I would like to know who has tried to access the system, what was the login & passwd that they used (both success & failure login attempts), what was the application that they used to access the system such as telnet, ftp, ssh etc.

Thanks in advance
Sponsored Links
Old 11-06-2008
demwz demwz is offline
Registered User
Join Date: Jun 2008
Last Activity: 27 September 2011, 4:18 AM EDT
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
there are many ways. ask mr google for "audited shell". some are commercial some are free. some are secure some are not.
you realy dont want to see the users password but you can track logins with last and various logfiles authlog messages depending on your sylog configuration.
Sponsored Links
Old 11-06-2008
funksen funksen is offline Forum Advisor  
Registered User
Join Date: Nov 2006
Last Activity: 30 April 2014, 10:11 AM EDT
Location: Austria/Vienna
Posts: 675
Thanks: 21
Thanked 31 Times in 30 Posts
you can configure syslog to log security messages to a file, /var/log/security is default on red hat

see man rsyslogd or man syslogd for configuration

last as mentioned is a good common tool for checking logins
you don't see the passwords of course, and I'm not going to tell you how to trace login passwords...

a very nice tool for tracing commands is sudosh, where you can see every keyboard input, such as backspace and so on, and you can play this in 1:1 speed like a movie
don't use it in a company, depends on local law if legal or not
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Track user log! petel1 Homework & Coursework Questions 7 08-06-2010 09:27 AM
Track user crackgeek UNIX for Dummies Questions & Answers 2 06-16-2010 01:25 PM
keep track of every user xander Shell Programming and Scripting 6 09-18-2008 01:48 PM
Possible to track FTP user last login? Last and Finger don't track them. LordJezo UNIX for Dummies Questions & Answers 1 11-08-2007 01:21 PM
Track user activity --pls help anandtharani UNIX for Advanced & Expert Users 2 09-22-2006 05:38 AM

All times are GMT -4. The time now is 04:27 AM.