Permalink
Browse files

Merge pull request #2 from askarel/master

Found a bug while updating Pamela on the gate at hsbxl. Here is a fix. :-)
  • Loading branch information...
2 parents c03b50d + b7c9db0 commit 41b83c3553e85fc032c60b2e2ad4f91bc88f26cb @sandb committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scanner/pamela-scanner.sh
@@ -74,7 +74,7 @@ function register {
check_if_root
check_if_arpscan_installed
echo "Registering pamela in cron: ${PAM_CRON}"
- echo "*/2 * * * * [ -x \"${PAM_SCRIPT}\" ] && \"${PAM_SCRIPT}\" -i \"${IF}\" -o \"${OUT}\" -u \"${USER}\" -p \"${PASSWORD}\" -t \"${TRANSLATE}\" | logger -t pamela" > "${PAM_CRON}"
+ echo "*/2 * * * * root [ -x \"${PAM_SCRIPT}\" ] && \"${PAM_SCRIPT}\" -i \"${IF}\" -o \"${OUT}\" -u \"${USER}\" -p \"${PASSWORD}\" -t \"${TRANSLATE}\" | logger -t pamela" > "${PAM_CRON}"
echo "Depending on your version of crond, you might have to restart the cron daemon for the changes to take effect"
}

0 comments on commit 41b83c3

Please sign in to comment.