Skip to content

Lynis needs to drop privilleges to support homebrew on MacOSX #382

Closed
@AlainG80

Description

@AlainG80

Given I run the version of today + mac ports patch:
When scanning I need to login as root.
Then I get the following error in my report:

[+] Ports and packages

  • Searching package managers
    • Searching brew [ FOUND ]
    • Querying brew for installed packages
      Error: Running Homebrew as root is extremely dangerous and no longer supported.
      As Homebrew does not drop privileges on installation you would be giving all
      build scripts full access to your system.
  • Checking ports for updates [ FOUND ]

Logfile /var/log/lynis.log doesn't give any more details.
Expected behavior: the program should drop privileges.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions