Lynis 2.2.0 Released – Security Auditing and Scanning Tool for Linux Systems

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

16 Responses

  1. Bobses says:

    I receive the following error when I try to update Lynis from 2.1.1 to 2.2.0:

    “Error: Unknown protocol, please specify (http, https) in profile (update_server_protocol)[-30C”

    What can I do in this situation?
    Thanks.

  2. Deezl says:

    is there a way to scan a remote server or workstation with Lynis? or does the client have to be installed on the local machine in order to run the scan?

    • Ravi Saive says:

      @Deezl,

      Unfortunately, you can’t scan a remote Linux server or workstation with Lynis and there isn’t any client that do the job as you looking for, all you need to do is install the Lynis tool on each machine and set a auto cron to do the scan..

  3. SURYANARAYANA says:

    you are so great sir..you have guided so many newbee of linux like me..keep it up..

  4. Hany says:

    Hi Ravi
    Thanks for easy to follow instructions. Also thanks with help with RKhunter but have since removed it and installed Lynis 2.1.1 as from what I gather RKhunter has been replaced by Lynis.

    I have 1 question. How do I get the daily scanned results to be emailed to me.

    • Ravi Saive says:

      @Hany,

      Thanks for finding these instructions easy to follow, yes you right even I noticed last that RKhunter replaced by Lynis and think Rkhunter no more into development. Regarding daily mail from cron, you need to set the following parameter with email id shown:

      MAILTO=your@mail.com
      
      • Hany says:

        Hi Ravi,

        Thanks for reply. I followed instructions and yes I got an email, right on specified time. However I receive an error in my message as follows:

        /bin/sh: root: command not found

        Can you please let me know what I need to change.

        • Ravi Saive says:

          @Hany,

          It seems may be there’s something wrong with your cron entry, I suggest you to add like this:

          * * * * * /script-to-path.sh
          
  5. Young man says:

    Hello,
    does lynis is only used to scan The server or also i can scan one user(One Website)?

    Thanks

  6. Young man says:

    Am i wrong what i do is the following

    1. mkdir /usr/local/lynis
    2. cd /usr/local/lynis
    3. wget http://cisofy.com/files/lynis-1.6.3.tar.gz
    4. tar -xvf lynis-1.6.3.tar.gz
    5. cd /lynis-1.6.3 i got this message (-bash: cd: /lynis-1.6.3: No such file or directory)

    What is wrong with me
    Hope to help

    • Ravi Saive says:

      Step 5th is wrong, as you extracted the content of lynis-1.6.3.tar.gz in current working directory, so the command is:

      # cd lynis-1.6.3
      
  7. John says:

    I tried to download lynis but it failed to download after hitting save and clicking twice on option to open.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's