Questions tagged [lynis]

Lynis is an auditing tool which tests and gathers (security) information from Unix and Linux based systems.

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

Some of the (future) features and usage options:

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

This tag should be included in questions related to use,abuse and auditing results of Lynis.

This may include help asked for an audit result("I was suggested this and how should I do it now" are acceptable), installation, uninstallation and use of lynis.

Lynis Home Page.

5 questions
6
votes
2 answers

What permissions would change if I change umask to 027 from 022?

I have just started using Lynis (please don't think I have misspelled Linux). After running it, I was suggested to set umask in /etc/login.defs and /etc/init.d/rc to 027 than the default 022. I want to know what changes that would make to file…
5
votes
1 answer

How to add legal banner in /etc/issue and /etc/issue.net in Ubuntu?

While using lynis, I was suggested to add an legal banner.So What is a legal banner? How do I add it to /etc/issue and /etc/issue.net?
1
vote
1 answer

Disable mounting of some filesystems

I ran Lynis on my Ubuntu 16.04.2 LTS guest. I have been resolving issues but after much searching (including on this site) I can't seem to find a suggestion for resolving these point losses. Any pointers would be most appreciated. Performing test…
MikeJRamsey56
  • 131
  • 1
  • 6
1
vote
0 answers

Systemd[1] running Lynis automatically?

I am a very casual Ubuntu user so forgive my lack of knowledge. I haven't seen this question posted anywhere else. I have largely stayed up-to-date with updates other than not upgrading yet to LTS 24.04. I looked in my syslog and it seems that…
des
  • 11
  • 2
0
votes
0 answers

How to harden security on services in ubuntu?

I was auditing my computer (with lynis) and then I saw that I have bad security on almost all of my services when I run "sudo systemd-analyze security SERVICE". I was wondering if there was a way to harden them, how do I do it? Also is there a way…