summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.sh
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2003-01-21 12:11:35 +0000
committerMike Makonnen <mtm@FreeBSD.org>2003-01-21 12:11:35 +0000
commitbe9c09e6e106a38a80499d86b0854f9ab3d758b6 (patch)
tree8228eccfb64a1cf76253830c9c85e82ab532d9f2 /adduser/adduser.sh
parent1af28db0b1156eeb3a23d0caf74c5f4102242806 (diff)
downloadpw-darwin-be9c09e6e106a38a80499d86b0854f9ab3d758b6.tar.gz
pw-darwin-be9c09e6e106a38a80499d86b0854f9ab3d758b6.tar.zst
pw-darwin-be9c09e6e106a38a80499d86b0854f9ab3d758b6.zip
Don't forget to properly quote input.
Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe <robin@isometry.net>
Diffstat (limited to 'adduser/adduser.sh')
-rw-r--r--adduser/adduser.sh2
1 files changed, 1 insertions, 1 deletions
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"