From 65e288b3c70397b3061d94f8350b0a8254377383 Mon Sep 17 00:00:00 2001 From: David <2069735+Marzal@users.noreply.github.com> Date: Sun, 14 Jul 2019 11:46:25 +0200 Subject: [PATCH 1/3] Fix typo in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1430528e..17c5492b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,7 +48,7 @@ measures to further tighten any possible misuse. - PROC-3614 - show 'Not found' instead of 'OK' - SSH-7402 - detect other SSH daemons like dropbear - SSH-7406 - strip OpenSSH patch version and remove characters (carriage return) -- Whow changelog works again for newer versions +- Show changelog works again for newer versions - systemd service file adjusted - bash completion script extended From e91c0a6f894b734ba96cb4115d33f2d2f7e284b0 Mon Sep 17 00:00:00 2001 From: David <2069735+Marzal@users.noreply.github.com> Date: Sun, 14 Jul 2019 13:00:55 +0200 Subject: [PATCH 2/3] Add missing commands to man --- lynis.8 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lynis.8 b/lynis.8 index f1c313eb..1c65a7b5 100644 --- a/lynis.8 +++ b/lynis.8 @@ -41,6 +41,10 @@ When running \fBLynis\fP for the first time, run: lynis audit system .SH "COMMANDS" .IP "audit \" Perform an audit of the selected type +.IP "configure \" +Change or add settings to the config file +.IP "generate \" +Generate specific details such as host IDs .IP "show \" Show information, such as configuration and paths .IP "update \" From 8400849c58ef05b6a045d6d43013e85e66beaa60 Mon Sep 17 00:00:00 2001 From: David <2069735+Marzal@users.noreply.github.com> Date: Sun, 14 Jul 2019 13:26:03 +0200 Subject: [PATCH 3/3] Add missing commands to show command helper configure,generate,update,upload-only --- include/helper_show | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/include/helper_show b/include/helper_show index 94d839be..d1086378 100644 --- a/include/helper_show +++ b/include/helper_show @@ -108,11 +108,15 @@ GENERATE_HELP=" " -UPDATE_ARGS="check info" +UPDATE_ARGS="check | info" UPDATE_HELP=" ${CYAN}update info${NORMAL} - Check version information + Check and show version information + + ${CYAN}update check${NORMAL} + + Just check if version is up-to-date " @@ -207,8 +211,11 @@ if [ $# -gt 0 ]; then if [ $# -eq 1 ]; then case $1 in "audit") ${ECHOCMD} "${AUDIT_HELP}" ;; + "configure") ${ECHOCMD} "No help available yet" ;; + "generate") ${ECHOCMD} "${GENERATE_HELP}" ;; "show") ${ECHOCMD} "${SHOW_HELP}" ;; - "update") ${ECHOCMD} "No help available yet" ;; + "update") ${ECHOCMD} "${UPDATE_HELP}" ;; + "upload-only") ${ECHOCMD} "${UPLOAD_ONLY_HELP}" ;; *) DisplayError "Unknown argument for 'commands'" esac else @@ -288,6 +295,7 @@ if [ $# -gt 0 ]; then shift case $1 in "audit") ${ECHOCMD} "${AUDIT_HELP}" ;; + "configure") ${ECHOCMD} "No help available yet" ;; "generate") ${ECHOCMD} "${GENERATE_HELP}" ;; "show") ${ECHOCMD} "${SHOW_HELP}" ;; "update") ${ECHOCMD} "${UPDATE_HELP}" ;;