Commit e7bf4727 authored by Russ Fish's avatar Russ Fish

Combine sudoers lines.

parent ce42c846
......@@ -895,8 +895,9 @@ 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");
AppendToFileFatal($SUDOERS,
"%wheel ALL=(ALL) NOPASSWD: ALL",
"Defaults logfile=/var/log/sudo.log");
};
Phase "php.ini", "Creating php.ini file", sub {
......
......@@ -831,8 +831,9 @@ 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");
AppendToFileFatal($SUDOERS,
"%wheel ALL=(ALL) NOPASSWD: ALL",
"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