summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-01-21 12:11:35 +0000
committermtm <mtm@FreeBSD.org>2003-01-21 12:11:35 +0000
commit140d1271c3a5b63b0ab2af80594b337a89377ac3 (patch)
treedc4d346bf2ef5e6f70727759b8dcea1ecad7e37f /usr.sbin/adduser
parent9362503ac1d0a2e1ddde1679c2664fcf9eaff45c (diff)
downloadFreeBSD-src-140d1271c3a5b63b0ab2af80594b337a89377ac3.zip
FreeBSD-src-140d1271c3a5b63b0ab2af80594b337a89377ac3.tar.gz
Don't forget to properly quote input.
Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe <robin@isometry.net>
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh
index 5b80a16b..53d9b86 100644
--- a/usr.sbin/adduser/adduser.sh
+++ b/usr.sbin/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"
OpenPOWER on IntegriCloud