summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/10-handle_users.inc
diff options
context:
space:
mode:
authorChristian Rößler2018-04-16 14:17:05 +0200
committerChristian Rößler2018-04-16 14:17:05 +0200
commit4ced5000dc8199b0085ae2c0c9c538e45b19ccf2 (patch)
tree19a1d2ec7fcfcf3fea3a9d9fbbe5669d7f8e5a95 /satellit_installer/includes/10-handle_users.inc
parentRevert "[SSUS] updater.template.sh: Check for major version (Deb.) accepts 9" (diff)
downloadsetup-scripts-4ced5000dc8199b0085ae2c0c9c538e45b19ccf2.tar.gz
setup-scripts-4ced5000dc8199b0085ae2c0c9c538e45b19ccf2.tar.xz
setup-scripts-4ced5000dc8199b0085ae2c0c9c538e45b19ccf2.zip
[SPSS] dnbd3 server added
Diffstat (limited to 'satellit_installer/includes/10-handle_users.inc')
-rw-r--r--satellit_installer/includes/10-handle_users.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_installer/includes/10-handle_users.inc b/satellit_installer/includes/10-handle_users.inc
index 34dc71b..d0dab50 100644
--- a/satellit_installer/includes/10-handle_users.inc
+++ b/satellit_installer/includes/10-handle_users.inc
@@ -20,7 +20,7 @@ add_user() {
add_user_nohome() {
echo -n "# Adding homeless user: $1, uid $2, to gid $3..."
- useradd -u "$2" --no-create-home --shell /bin/false -g "$3" "$1" 2>/dev/null \
+ useradd -u "$2" --no-create-home -d /nonexistent --shell /bin/false -g "$3" "$1" 2>/dev/null \
|| perror "Could not add homeless user ${1}/${2} / gid $3!"
echo " ok."
}