Merge "Check sudoers file after editing"
This commit is contained in:
commit
8fdbbc3413
@ -7,3 +7,4 @@ set -eu
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
sed -i '/secure_path/ s/$/:\/usr\/local\/bin/' /etc/sudoers
|
sed -i '/secure_path/ s/$/:\/usr\/local\/bin/' /etc/sudoers
|
||||||
|
visudo -c
|
||||||
|
Loading…
Reference in New Issue
Block a user