mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
9 lines
254 B
Bash
Executable file
9 lines
254 B
Bash
Executable file
#!/bin/bash
|
|
USERNAME="cutter"
|
|
|
|
echo "Cutter: Starting with UID:GID $LOCAL_USER_ID:$LOCAL_GROUP_ID"
|
|
usermod -u $LOCAL_USER_ID $USERNAME
|
|
usermod -g $LOCAL_GROUP_ID $USERNAME
|
|
export HOME=/home/$USERNAME
|
|
|
|
exec su-exec $USERNAME "/opt/cutter/build/cutter" $@
|