Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from helkaluin/main
Browse files Browse the repository at this point in the history
Add user to render group (enabling VAAPI)
aleksasiriski authored Oct 3, 2023
2 parents a168aea + 984c96a commit 0a4f2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ if [ -n "${SSH_USERS}" ]; then
check_authorized_key_ownership /etc/authorized_keys/${_NAME} ${_UID} ${_GID}
fi
getent group ${_NAME} >/dev/null 2>&1 || groupadd -g ${_GID} ${_NAME}
getent passwd ${_NAME} >/dev/null 2>&1 || useradd -r -m -p '' -u ${_UID} -g ${_GID} -s ${_SHELL:-""} -c 'SSHD User' ${_NAME}
getent passwd ${_NAME} >/dev/null 2>&1 || useradd -r -m -p '' -u ${_UID} -g ${_GID} -G render -s ${_SHELL:-""} -c 'SSHD User' ${_NAME}
done
else
# Warn if no authorized_keys

0 comments on commit 0a4f2bb

Please sign in to comment.