aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/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
commitacb3f07afdb0758fcfae58f9a33dbe1d065992db (patch)
treedc4d346bf2ef5e6f70727759b8dcea1ecad7e37f /usr.sbin/adduser/adduser.sh
parent718af14fe457254ab444ce26a78280a1db95e181 (diff)
downloadsrc-acb3f07afdb0758fcfae58f9a33dbe1d065992db.tar.gz
src-acb3f07afdb0758fcfae58f9a33dbe1d065992db.zip
Don't forget to properly quote input.
Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe <robin@isometry.net>
Notes
Notes: svn path=/head/; revision=109635
Diffstat (limited to 'usr.sbin/adduser/adduser.sh')
-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 5b80a16bb223..53d9b86c9022 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"