Date: Tue, 21 Jan 2003 11:10:59 -0000 From: "Robin Breathe" <robin@isometry.net> To: <freebsd-current@FreeBSD.org> Subject: adduser(8) in 5.0-R Message-ID: <000701c2c13d$c728a250$026ca8c0@ishadow>
next in thread | raw e-mail | index | archive | help
Morning all,
Just a little thing I've spotted in 5.0-R which could cause grief for new
users. Post-perl adduser(8) is broken with what I would term sensible
passwords. i.e. those which contain special shell characters (|/`/$/etc).
The fix is simple:
--- /usr/src/usr.sbin/adduser/adduser.sh.original Tue Jan 21 10:18:54 2003
+++ /usr/src/usr.sbin/adduser/adduser.sh Tue Jan 21 10:36:40 2003
@@ -205,7 +205,7 @@
yes)
_passwdmethod="-w yes"
_passwd="-h 0"
- _upasswd="echo $upass |"
+ _upasswd="echo '$upass' |"
;;
none)
_passwdmethod="-w none"
Could somebody please commit this?
Robin
PS: This seemed so trivial that it didn't deserve a whole PR to itself...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c2c13d$c728a250$026ca8c0>
