summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-01-23 01:57:30 +0000
committermtm <mtm@FreeBSD.org>2003-01-23 01:57:30 +0000
commitaecb9be887a97d3a11dc1853223bbe5ce23fe4fc (patch)
tree08749ddada82b0c1857b856d9d10d6b287b50c56 /usr.sbin
parentcb818c51156d8132ad09194b61e3983c1b5caaf6 (diff)
downloadFreeBSD-src-aecb9be887a97d3a11dc1853223bbe5ce23fe4fc.zip
FreeBSD-src-aecb9be887a97d3a11dc1853223bbe5ce23fe4fc.tar.gz
*blush*
While I'm here properly quote all the other input I neglected to quote. Approved by: markm (mentor)(implicit)
Diffstat (limited to 'usr.sbin')
-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 53d9b86..0a92133 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
OpenPOWER on IntegriCloud