LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2008, 03:32 AM   #1
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Server Audit / Installation Report Software


Is there any good software available that audits a fresh installed Linux system and reports what packages are installed, how it was partitioned and what services /users/etc are configured?

I seek some kind of report that can be handed out to the user or can be used for internal documentation when you setup a new server.
 
Old 01-31-2008, 04:38 AM   #2
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
Not sure about software to scan an already set up server. However, a standard Debian install generates an install log under;

Code:
/var/log/installer/
This normally includes hardware, packages, errors, etc.

With a bit of grep and sed you could generate a script to summarise it to your needs.
 
Old 01-31-2008, 05:50 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
for a .rpm system, rpm -qa will generate a list of everything installed. Try it and I'm sure you will decide its not what you want...

You might also like to look at ps -ef to give you a list of what is running. It still won't quite be what you want, although you could bundle the two up to make a quite useful bit of documentation.

By implication df tells you a lot about disk sizes, but it doesn't tell you how the partitions are set up, just their sizes.

You also try du which will give you the various things that are in place and the amount of space that they use - my sense is that this will give you more detail and be more difficult to interpret than you would like.

If you really want to be thorough, you would probably want to keep a copy of the config files for each significant server app.

Had you been using SuSE, there is a decent hardware report as well, but doesn't look as if you are.
 
Old 01-31-2008, 06:44 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Two things minimally to run before handing it over IMHO:

0. ServDoc
Written in Perl, no install necessary.
Provides general inventory listing.
Old but works perfectly still, output to HTML possible.
* D/L last nightly build.

1. GNU Tiger
Shell script with binary helper applications.
No install necessary if you build off-site but should be a Good Thing to install anyway.
Provides general security audit (just in case you missed tweaking something).
Output to HTML possible.
* Don't forget to enable verbose explanations.

Of course there could be more reporting to run to show the system left your hands in perfect condition like 'yum check-update', Logwatch, LSAT and Rootkit Hunter but that depends on what your handover specs are.
 
Old 01-31-2008, 06:49 AM   #5
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Original Poster
Rep: Reputation: 40
I'm afraid that a script will be the only solution. But I thought that there are already basic tools available that post the system's cpu and memory, enabled services and so on...
 
Old 01-31-2008, 07:50 AM   #6
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
installation report

Quote:
Originally Posted by brianmcgee View Post
Is there any good software available that audits a fresh installed Linux system and reports what packages are installed, how it was partitioned and what services /users/etc are configured?

I seek some kind of report that can be handed out to the user or can be used for internal documentation when you setup a new server.
i dont know about installation report software but i m using webmin for administrating server and this is quite good and easy to configuration and it have a easy facility for viewing installed softwares and running process. try for searching webmin packages for ur linux .
 
Old 01-31-2008, 08:13 AM   #7
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Original Poster
Rep: Reputation: 40
Thank you all, especially unSpawn! I have missed your last post. I know that you won't be able to put all information about the systems configuration in such an audit, but the tools look promising for handover documentation. Thanks a lot!
 
Old 01-31-2008, 08:38 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by brianmcgee View Post
I have missed your last post.
NP. Good you saw it.
 
  


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
Software installation using NFS server aslamlnx Linux - Networking 1 12-16-2005 02:01 PM
DNS server software installation DanielTan Linux - Software 4 10-02-2005 09:06 AM
Anyone know of a good software audit program? kopite2012 Linux - Newbie 2 11-23-2004 04:04 AM
pppd server audit trail bhwchun Linux - Networking 1 06-21-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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