Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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...
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 .
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.