diff options
author | Mike Makonnen <mtm@FreeBSD.org> | 2003-01-23 01:57:30 +0000 |
---|---|---|
committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-01-23 01:57:30 +0000 |
commit | e4991920d98d5e5afad673e5d537d558426b7716 (patch) | |
tree | 298ed934f96dd89b41cba97ef545dd7ebe7990eb /adduser/adduser.sh | |
parent | be9c09e6e106a38a80499d86b0854f9ab3d758b6 (diff) | |
download | pw-darwin-e4991920d98d5e5afad673e5d537d558426b7716.tar.gz pw-darwin-e4991920d98d5e5afad673e5d537d558426b7716.tar.zst pw-darwin-e4991920d98d5e5afad673e5d537d558426b7716.zip |
*blush*
While I'm here properly quote all the other input I neglected
to quote.
Approved by: markm (mentor)(implicit)
Diffstat (limited to 'adduser/adduser.sh')
-rw-r--r-- | adduser/adduser.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/adduser/adduser.sh b/adduser/adduser.sh index 53d9b86..0a92133 100644 --- a/adduser/adduser.sh +++ b/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 |