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

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

19 Responses

  1. Piers says:

    This article should be updated. The newest version of this is now 2.5.5. If you’re an ARCH user all you need to do is run a ↵ “sudo pacman -S lynis” and you’ll get this: “community/lynis 2.5.5-1“.

    • Ravi Saive says:


      Thanks for informing us about new Lynis update, we’ve updated the installation instructions in the article to latest Lynis version..

  2. c4ifford says:

    So what security criteria standards does this check against?

  3. 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?

  4. 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:


      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..


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

  6. 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:


      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:

      [email protected]
      • 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:


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

          * * * * * /
  7. Young man says:

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


  8. Young man says:

    Am i wrong what i do is the following

    1. mkdir /usr/local/lynis
    2. cd /usr/local/lynis
    3. wget
    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
  9. 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.