Set a valid file name for sudoers
config
This commit is contained in:
parent
2fef5e494d
commit
8d37e46323
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ pushd "$rootDir" > /dev/null;
|
|||
function autoRoot() {
|
||||
{
|
||||
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL"
|
||||
} | sudo tee "/etc/sudoers.d/PortValhalla.conf" > /dev/null;
|
||||
} | sudo tee "/etc/sudoers.d/PortValhalla" > /dev/null;
|
||||
}
|
||||
|
||||
runHook initialize \
|
||||
|
@ -32,6 +32,6 @@ runHook initializeProfile \
|
|||
. "$(pwd)/../../../scripts/Common/Config/UserProfile/install.sh";
|
||||
|
||||
runHook postInstall \
|
||||
rm "/etc/sudoers.d/PortValhalla.conf";
|
||||
rm "/etc/sudoers.d/PortValhalla";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue