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
2
stack.sh
2
stack.sh
|
@ -62,7 +62,7 @@ if [[ $EUID -eq 0 ]]; then
|
|||
|
||||
echo "Giving stack user passwordless sudo priviledges"
|
||||
( 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"
|
||||
STACK_DIR="/home/stack/${PWD##*/}"
|
||||
|
|
Loading…
Reference in a new issue