From: Mike Makonnen Date: Tue, 21 Jan 2003 12:11:35 +0000 (+0000) Subject: Don't forget to properly quote input. X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/commitdiff_plain/be9c09e6e106a38a80499d86b0854f9ab3d758b6 Don't forget to properly quote input. Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe --- diff --git a/adduser/adduser.sh b/adduser/adduser.sh index 5b80a16..53d9b86 100644 --- a/adduser/adduser.sh +++ b/adduser/adduser.sh @@ -205,7 +205,7 @@ add_user() { yes) _passwdmethod="-w yes" _passwd="-h 0" - _upasswd="echo $upass |" + _upasswd="echo '$upass' |" ;; none) _passwdmethod="-w none"