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