Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lynis --profile options available ? #26

Closed
centminmod opened this issue Mar 9, 2015 · 2 comments
Closed

lynis --profile options available ? #26

centminmod opened this issue Mar 9, 2015 · 2 comments
Assignees

Comments

@centminmod
Copy link

I did tarball lynis 2.0 install but confused as to whether there is a profile specifically for CentOS ?

what is correct syntax for --profile and what are all available options for linux distrubutions available ?

lynis --auditor "centminmod.com initial run" -c -Q --profile CentOS

[ Lynis 2.0.0 ]

################################################################################
 Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
 welcome to redistribute it under the terms of the GNU General Public License.
 See the LICENSE file for details about using this software.

 Copyright 2007-2015 - CISOfy, https://cisofy.com
 Enterprise support and plugins available via CISOfy
################################################################################

[+] Initializing program
------------------------------------
Fatal error: Can't open profile file (CentOS)

thanks

@mboelen
Copy link
Member

mboelen commented Mar 9, 2015

Profiles are meant to define a scan should be done. There is a default profile, named default.prf, which you optionally can copy and alter. This is useful to avoid the file being overwritten, or using different profiles for different types of scans. No need to specify the OS, as Lynis will detect that and adjust tests to what it discovered.

@mboelen mboelen closed this as completed Mar 9, 2015
@mboelen mboelen self-assigned this Mar 9, 2015
@centminmod
Copy link
Author

thank @mboelen for the clarification :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants