Commit ce42c846 authored by Russ Fish's avatar Russ Fish

Set sudo logfile.

parent a1fb2340
......@@ -896,6 +896,7 @@ Phase "cron", "Adding cron jobs", sub {
Phase "sudoers", "Editing $SUDOERS", sub {
DoneIfEdited($SUDOERS);
AppendToFileFatal($SUDOERS,"%wheel ALL=(ALL) NOPASSWD: ALL");
AppendToFileFatal($SUDOERS,"Defaults logfile=/var/log/sudo.log");
};
Phase "php.ini", "Creating php.ini file", sub {
......
......@@ -832,6 +832,7 @@ Phase "cron", "Adding cron jobs", sub {
Phase "sudoers", "Editing $SUDOERS to allow wheel group", sub {
DoneIfEdited($SUDOERS);
AppendToFileFatal($SUDOERS,"%wheel ALL=(ALL) NOPASSWD: ALL");
AppendToFileFatal($SUDOERS,"Defaults logfile=/var/log/sudo.log");
};
Phase "samba", "Setting up Samba", sub {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment