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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message