diff options
author | mtm <mtm@FreeBSD.org> | 2003-01-21 12:11:35 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-01-21 12:11:35 +0000 |
commit | 140d1271c3a5b63b0ab2af80594b337a89377ac3 (patch) | |
tree | dc4d346bf2ef5e6f70727759b8dcea1ecad7e37f /usr.sbin/adduser/adduser.sh | |
parent | 9362503ac1d0a2e1ddde1679c2664fcf9eaff45c (diff) | |
download | FreeBSD-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/adduser.sh')
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 2 |
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" |