We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f902ccb commit d0c4ef6Copy full SHA for d0c4ef6
debian-pkg/debian/tinypilot.postinst
@@ -21,6 +21,9 @@ getent group "${TINYPILOT_GROUP}" > /dev/null || \
21
# adduser is idempotent, so we don't need to check existence first.
22
adduser \
23
--system \
24
+ `# We have to specify a shell to override the default /usr/sbin/nologin, ` \
25
+ `# which prevents us from executing commands through "sudo su".` \
26
+ --shell /bin/bash \
27
--ingroup "${TINYPILOT_GROUP}" \
28
--home "${TINYPILOT_HOME_DIR}" \
29
"${TINYPILOT_USER}"
0 commit comments