Commit e7bf4727 authored by Russ Fish's avatar Russ Fish
Browse files

Combine sudoers lines.

parent ce42c846
...@@ -895,8 +895,9 @@ Phase "cron", "Adding cron jobs", sub { ...@@ -895,8 +895,9 @@ Phase "cron", "Adding cron jobs", sub {
Phase "sudoers", "Editing $SUDOERS", sub { Phase "sudoers", "Editing $SUDOERS", sub {
DoneIfEdited($SUDOERS); DoneIfEdited($SUDOERS);
AppendToFileFatal($SUDOERS,"%wheel ALL=(ALL) NOPASSWD: ALL"); AppendToFileFatal($SUDOERS,
AppendToFileFatal($SUDOERS,"Defaults logfile=/var/log/sudo.log"); "%wheel ALL=(ALL) NOPASSWD: ALL",
"Defaults logfile=/var/log/sudo.log");
}; };
Phase "php.ini", "Creating php.ini file", sub { Phase "php.ini", "Creating php.ini file", sub {
......
...@@ -831,8 +831,9 @@ Phase "cron", "Adding cron jobs", sub { ...@@ -831,8 +831,9 @@ Phase "cron", "Adding cron jobs", sub {
Phase "sudoers", "Editing $SUDOERS to allow wheel group", sub { Phase "sudoers", "Editing $SUDOERS to allow wheel group", sub {
DoneIfEdited($SUDOERS); DoneIfEdited($SUDOERS);
AppendToFileFatal($SUDOERS,"%wheel ALL=(ALL) NOPASSWD: ALL"); AppendToFileFatal($SUDOERS,
AppendToFileFatal($SUDOERS,"Defaults logfile=/var/log/sudo.log"); "%wheel ALL=(ALL) NOPASSWD: ALL",
"Defaults logfile=/var/log/sudo.log");
}; };
Phase "samba", "Setting up Samba", sub { 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