Debian Admin - Your way to Debian World

December 24, 2007

Lynis - Security and system auditing tool

by @ 1:22 pm. Filed under Security

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Lynis is an auditing tool which tests and gathers information from Unix based systems. The audience for this tool are security and system auditors, network specialists and system maintainers.

Lynis features

- System and security audit checks
- File Integrity Assessment
- System and file forensics
- Usage of templates/baselines (reporting and monitoring)
- Extended debugging features

Lynis requirements

- You have to be root (log in as normal user, su to root), or have equivalent
rights (for example by using sudo).
- Have write access to /var/log (for using a log/debug file)
- Have write access to create a report (most likely in the same directory
where Lynis is located)
- Have write access to /tmp (temporary files)

Lynis Installation

Lynis doesn’t have to be installed, so it can be used directly from a (removable) disk. If you want the

program to be installed, use the following method

Create a custom directory (ie. /usr/local/lynis)

#mkdir /usr/local/lynis

#cd /usr/local/lynis

#wget http://downloads.rootkit.nl/lynis-1.0.5.tar.gz

unpack the tarball

#tar xfvz lynis-1.0.5.tar.gz

Now you have lynis directory

Using Lynis

Depending on the installation or the path you run Lynis from, you can start it with ‘lynis’ (if

installed and the file is available in your binary path) or ’sh lynis’ or ‘./lynis’.

#./lynis -c

This will produce similar to the following output

Tags: , , , ,

You may also be interested in...

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.