summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaladduser5
1 files changed, 2 insertions, 3 deletions
diff --git a/localadduser b/localadduser
index 774c24c..433315c 100755
--- a/localadduser
+++ b/localadduser
@@ -3,7 +3,7 @@
# /usr/local/bin/localadduser
# Copyright 2003 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localadduser,v 1.2 2006-08-25 02:34:29 jonas Exp $
+# $Id: localadduser,v 1.3 2006-08-25 04:36:44 jonas Exp $
#
# Execute adduser noninteractively through sudo
#
@@ -13,7 +13,6 @@
#
set -e
-set -x
pass_len=11
pass_expire=30
@@ -76,7 +75,7 @@ if [ ! "$interactive" -gt 0 ]; then
quiet="--quiet"
fi
if [ -n "$fullname$office_phone$home_phone$other" ]; then
- eval $simulate sudo "/usr/sbin/adduser $quiet --disabled-login --gecos=\"$fullname,,$office_phone,$home_phone,$other\" \"$u\""
+ eval $simulate sudo "/usr/sbin/adduser $quiet --disabled-login --gecos \"$fullname,,$office_phone,$home_phone,$other\" \"$u\""
else
if [ ! "$interactive" -gt 0 ]; then
echo "E: Not enough info provided to create account for \"$u\"" >&2