summaryrefslogtreecommitdiff
path: root/user/dbus/dbus.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/dbus/dbus.pre-install')
-rw-r--r--user/dbus/dbus.pre-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/dbus/dbus.pre-install b/user/dbus/dbus.pre-install
index 889651721..e5b299aaf 100644
--- a/user/dbus/dbus.pre-install
+++ b/user/dbus/dbus.pre-install
@@ -1,6 +1,7 @@
#!/bin/sh
-addgroup -S messagebus 2>/dev/null
-adduser -S -D -H -h /dev/null -s /sbin/nologin -G messagebus -g "D-Bus User" messagebus 2>/dev/null
+groupadd -r messagebus 2>/dev/null
+useradd -c "D-Bus User" -s /sbin/nologin -g messagebus \
+ -m -d /dev/null -k /etc/skel -r messagebus 2>/dev/null
exit 0