fix writing of 50_stack_sh in sudoers
This commit is contained in:
parent
df47967da4
commit
55c9d3f13d
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -61,8 +61,8 @@ if [[ $EUID -eq 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Giving stack user passwordless sudo priviledges"
|
echo "Giving stack user passwordless sudo priviledges"
|
||||||
( umask 226 && echo "stack ALL=(ALL) NOPASSWD: ALL" \
|
( umask 226 && echo "stack ALL=(ALL) NOPASSWD:ALL" \
|
||||||
>> /etc/sudoers.d/50_stack_sh )
|
> /etc/sudoers.d/50_stack_sh )
|
||||||
|
|
||||||
echo "Copying files to stack user"
|
echo "Copying files to stack user"
|
||||||
STACK_DIR="/home/stack/${PWD##*/}"
|
STACK_DIR="/home/stack/${PWD##*/}"
|
||||||
|
|
Loading…
Reference in a new issue