]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Don't forget to properly quote input.
authorMike Makonnen <mtm@FreeBSD.org>
Tue, 21 Jan 2003 12:11:35 +0000 (12:11 +0000)
committerMike Makonnen <mtm@FreeBSD.org>
Tue, 21 Jan 2003 12:11:35 +0000 (12:11 +0000)
Approved by: markm (mentor)(implicit)
Submitted by: Robin Breathe <robin@isometry.net>

adduser/adduser.sh

index 5b80a16bb2230800d2f0203d8a36188b1b47cfa4..53d9b86c9022f0714ccb7986d20bf13423a740d2 100644 (file)
@@ -205,7 +205,7 @@ add_user() {
        yes)
                _passwdmethod="-w yes"
                _passwd="-h 0"
-               _upasswd="echo $upass |"
+               _upasswd="echo '$upass' |"
                ;;
        none)
                _passwdmethod="-w none"