[info=2ccaaca0fd5966939726ce3241ab96a4]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/mariadb-image?expand=0&rev=123
This commit is contained in:
2024-09-09 07:28:39 +00:00
committed by Git OBS Bridge
commit ad4ee62ba5
11 changed files with 1830 additions and 0 deletions

11
gosu Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
u=$1
shift
if ! id -u "$u" > /dev/null 2>&1; then
echo "Invalid user: $u"
exit 1
fi
exec setpriv --reuid="$u" --regid="$u" --clear-groups -- "$@"