f17e169f69
This patch will append /usr/local/bin to the sudoers secure_path variable, by doing so commands prefixed with sudo will then find some binaries delivered by other elements in that path (e.g nova-rootwrap). Change-Id: I1ebad8b1932620559a3d90aa39298f9b12e636fd
4 lines
73 B
Bash
Executable File
4 lines
73 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sed -i '/secure_path/ s/$/:\/usr\/local\/bin/' /etc/sudoers
|