LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-01-2005, 03:18 AM   #1
fargowiz
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Question Logs users actions


hi all,

Is there any way to log whatevers users typed when they login?

Currently, when a user -su- to root, i cannot trace which users enter which commands.

Any solutions? Thanks!
 
Old 03-01-2005, 04:00 AM   #2
mssanchu
LQ Newbie
 
Registered: Dec 2004
Location: India
Distribution: Redhat, Gentoo
Posts: 18

Rep: Reputation: 0
hope this helps....

hi,
there is a file named .bash_histroy in each and every users directory, which has all the commands that users enter.. write cron job to monitor ( or grep ) the .bash_history file to check for "su" on all users... let me kow if it worked... btw the ur ques wasnt clear.. hope this helped...
 
Old 03-01-2005, 04:04 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
You could create multiple root accounts and give each user their own root account.

But if you distrust the users with root access enough to want to monitor them, why have they got root access?
 
  


Reply



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
tracing the logs from a dialup users nhoelle_18 Linux - Networking 0 06-01-2005 06:15 AM
Users&Logs need help vgulch Linux - Software 0 11-30-2004 07:33 AM
restricting users actions... know of any programs.. for both win/lunix nicknamefij Linux - Security 5 09-16-2004 10:58 PM
Where can I find the logs for Konsole actions 1beb Mandriva 1 12-01-2003 10:15 AM
Creating on the command logs for users aliwerd Linux - General 3 06-25-2003 07:43 AM

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

All times are GMT -5. The time now is 04:49 AM.

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
Open Source Consulting | Domain Registration