aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-exchange-offline.postinst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-03-04 20:33:18 +0100
committerChristian Grothoff <christian@grothoff.org>2023-03-04 20:33:18 +0100
commitc9d0e4a47337e2d0bd1b623766f403d99922eea8 (patch)
tree711ebab9585d8d8ea1bed43653666384153c3f19 /debian/taler-exchange-offline.postinst
parent2ad12de668b81e284708e5386a0fe90971f088cd (diff)
make taler-exchange-offline a 'normal' user with shell
Diffstat (limited to 'debian/taler-exchange-offline.postinst')
-rw-r--r--debian/taler-exchange-offline.postinst10
1 files changed, 4 insertions, 6 deletions
diff --git a/debian/taler-exchange-offline.postinst b/debian/taler-exchange-offline.postinst
index e22ad5920..0f6e90d30 100644
--- a/debian/taler-exchange-offline.postinst
+++ b/debian/taler-exchange-offline.postinst
@@ -4,20 +4,18 @@ set -e
. /usr/share/debconf/confmodule
-TALER_HOME="/var/lib/taler"
-
case "${1}" in
configure)
if ! getent group taler-exchange-offline >/dev/null; then
- addgroup --quiet --system taler-exchange-offline
+ addgroup --quiet taler-exchange-offline
fi
if ! getent passwd taler-exchange-offline >/dev/null; then
- adduser --quiet --system \
+ adduser --quiet \
+ --disabled-password \
--ingroup taler-exchange-offline \
- --no-create-home \
- --home ${TALER_HOME} taler-exchange-offline
+ taler-exchange-offline
fi
;;