LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-05-2004, 01:05 AM   #1
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
Logging program exec


Hi, just thought i'd ask if anyone knows i nice way to log what programs a user exec's.
Of course i could just log things like ~/.bash_history, but not exactly an ideal solution. Especially if the user run's another shell or uses kdeinit for all execution.


I have not really researched it yet, so much code, so little time. So any help will be greatly appreciated.



ideally stdout via syslog or snmp would be perfect(less work for me), but anything is better then nothing.



Thanks
 
Old 08-06-2004, 08:45 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

If you're very lazy or want an immediate temporary solution, you can do a cron job which does something like: ps- U user_I_wanna_log

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
c code: how to exec a external program in c feetyouwell Programming 3 04-04-2005 10:44 PM
java runtime() exec() program mcshen Programming 4 11-25-2004 11:29 AM
Suggestions for network logging program benjithegreat98 Linux - Software 11 12-29-2003 08:01 AM
exec program from within another raven Programming 5 11-04-2003 12:03 PM
Starting program automatically as logging in adcripps Linux - Newbie 9 03-13-2002 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration