LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2007, 01:59 AM   #1
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Rep: Reputation: 15
Get log of all history


Hi again. I want to view all log of user root in solaris or linux, beginning from installation of system
How can i do it?
I type history, it gives me only part of commands

Thanks....
 
Old 01-18-2007, 02:07 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you restrict access for administrators to using sudo, then all root commands are logged, provided you disallow something like "sudo /bin/bash" and plug up holes such as entering "!/bin/bash" in vim.

The bash history is not intended to be a full log. It may fold repeated commands into one, and it is limited to a certain number of lines. It is a convenience, used to recall previous commands, such as using [ctrl]-R or !-5.
 
Old 01-18-2007, 04:28 AM   #3
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you very much!
 
  


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
Download history and copy history? inverted.gravity Linux - Newbie 1 02-21-2006 12:31 PM
Internet Log / History netpicker9 Linux - Software 1 06-07-2005 08:39 AM
Need to log users command history FatSteve Linux - Security 2 07-22-2004 06:25 PM
tcsh history log twantrd Linux - General 3 06-25-2003 06:57 AM
command history log??? granny Linux - Newbie 3 02-11-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 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