gossa/run.sh: --init-groups → --clear groups
--init-groups requires a user that can be found on the system.
This commit is contained in:
parent
197fcd1a3d
commit
81d025dc2a
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ echo "[core] Running as uid = ${GOSSA_UID} gid = ${GOSSA_GID} port = ${NOMAD_POR
|
|||
|
||||
cd "/mnt" || { echo "Failed to cd into /mnt"; exit 1; };
|
||||
|
||||
setpriv --inh-caps=-all --reuid "${GOSSA_UID}" --init-groups --regid "${GOSSA_GID}" /usr/local/bin/gossa -p "${NOMAD_PORT_GOSSA}" /mnt;
|
||||
setpriv --inh-caps=-all --reuid "${GOSSA_UID}" --clear-groups --regid "${GOSSA_GID}" /usr/local/bin/gossa -p "${NOMAD_PORT_GOSSA}" /mnt;
|
||||
|
||||
echo "[core] Ending";
|
||||
|
|
Loading…
Reference in a new issue