summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser/adduser.sh
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2003-01-23 01:57:30 +0000
committerMike Makonnen <mtm@FreeBSD.org>2003-01-23 01:57:30 +0000
commitc83365999e6f8a7494bbfb1d432413241506a04e (patch)
tree08749ddada82b0c1857b856d9d10d6b287b50c56 /usr.sbin/adduser/adduser.sh
parentcd7b801ba0d38bb380483c6367e2051e7dc91e50 (diff)
downloadsrc-test2-c83365999e6f8a7494bbfb1d432413241506a04e.tar.gz
src-test2-c83365999e6f8a7494bbfb1d432413241506a04e.zip
*blush*
While I'm here properly quote all the other input I neglected to quote. Approved by: markm (mentor)(implicit)
Notes
Notes: svn path=/head/; revision=109720
Diffstat (limited to 'usr.sbin/adduser/adduser.sh')
-rw-r--r--usr.sbin/adduser/adduser.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh
index 53d9b86c9022..0a921338a096 100644
--- a/usr.sbin/adduser/adduser.sh
+++ b/usr.sbin/adduser/adduser.sh
@@ -186,15 +186,15 @@ add_user() {
_upasswd=
_passwdmethod=
- _name="-n $username"
- [ -n "$uuid" ] && _uid="-u $uuid"
- [ -n "$ulogingroup" ] && _group="-g $ulogingroup"
- [ -n "$ugroups" ] && _grouplist="-G $ugroups"
- [ -n "$ushell" ] && _shell="-s $ushell"
- [ -n "$uhome" ] && _home="-m -d $uhome"
- [ -n "$uclass" ] && _class="-L $uclass"
+ _name="-n '$username'"
+ [ -n "$uuid" ] && _uid="-u '$uuid'"
+ [ -n "$ulogingroup" ] && _group="-g '$ulogingroup'"
+ [ -n "$ugroups" ] && _grouplist="-G '$ugroups'"
+ [ -n "$ushell" ] && _shell="-s '$ushell'"
+ [ -n "$uhome" ] && _home="-m -d '$uhome'"
+ [ -n "$uclass" ] && _class="-L '$uclass'"
[ -n "$ugecos" ] && _comment="-c '$ugecos'"
- [ -n "$udotdir" ] && _dotdir="-k $udotdir"
+ [ -n "$udotdir" ] && _dotdir="-k '$udotdir'"
[ -n "$uexpire" ] && _expire="-e '$uexpire'"
[ -n "$upwexpire" ] && _pwexpire="-p '$upwexpire'"
case $passwdtype in