LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2010, 04:44 PM   #1
Dig
Member
 
Registered: Nov 2009
Posts: 50

Rep: Reputation: 1
Monitoring executed commands


I've firewall machine customers connect on it then connect to one of another 3 machines as root through ssh key , is there any way to know which user connect to which machine and what command that he has executed without using script command ?
 
Old 12-15-2010, 05:19 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Deny them root login on the edge firewall but give them an unprivileged user account. Deny them root login on the target machine and give them an unprivileged user account. Set up each machine to log to a central syslog server these users have no access to. Allow them to perform specific tasks using Sudo, use Rootsh for wrapping around shell sessions if Sudo isn't enough and use Auditd for logging tracking file access et cetera. And remember that once you allow a user root access it potentially is game over.
 
1 members found this post helpful.
  


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
History of Commands Executed by Users ajayan Linux - Newbie 2 04-16-2010 11:38 AM
Log all commands executed by any user? Possible helptonewbie Linux - Security 25 09-01-2009 08:34 AM
How to Display Commands to be Executed with At lrt Linux - Software 1 04-11-2008 11:26 AM
View commands being executed in Xwindows DMeerholz Linux - Software 1 06-20-2007 07:40 AM
at - warning: commands will be executed using /bin/s RGummi Linux - General 4 10-13-2006 12:34 PM

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

All times are GMT -5. The time now is 03:15 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
Open Source Consulting | Domain Registration