X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fetc%2Fsudoers%2FGRMLBASE;h=7a463428370408cde865f2ea94ef7ad8b239973e;hp=f52c8923d301148cc8fe8d201ac3c7b5b7acbc17;hb=c557940f98cb23335d5f3cc16492eed60936dc32;hpb=95f776581b60e5cb71d51955917f5dd7a8a7a482 diff --git a/etc/grml/fai/config/files/etc/sudoers/GRMLBASE b/etc/grml/fai/config/files/etc/sudoers/GRMLBASE index f52c892..7a46342 100644 --- a/etc/grml/fai/config/files/etc/sudoers/GRMLBASE +++ b/etc/grml/fai/config/files/etc/sudoers/GRMLBASE @@ -20,6 +20,9 @@ root ALL=(ALL) ALL # WARNING: Never allow external access to the $USERNAME user!!! $USERNAME ALL=NOPASSWD: ALL +# Path used for every command run from sudo +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + # allow editing of files with editor: # $USERNAME ALL=NOPASSWD: sudoedit