Date: Mon, 27 Apr 2020 19:30:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245342] adduser.sh silently sets a password different from the input if it contains leading/trailing spaces Message-ID: <bug-245342-227-O7R4rgmL9P@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245342-227@https.bugs.freebsd.org/bugzilla/> References: <bug-245342-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245342 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: kevans Date: Mon Apr 27 19:29:48 UTC 2020 New revision: 360390 URL: https://svnweb.freebsd.org/changeset/base/360390 Log: MFC r359642: adduser: allow standard IFS characters in passwords Notably, the default IFS contains space/tab, thus any leading/trailing whitespace characters tend to be removed. Set IFS=3D for just the read lines to mitigate this, allowing the user to= be less surprised when their leading/trailing spaces weren't actually captur= ed in the password as they are with other means of setting a user's password. PR: 245342 Changes: _U stable/11/ stable/11/usr.sbin/adduser/adduser.sh _U stable/12/ stable/12/usr.sbin/adduser/adduser.sh --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245342-227-O7R4rgmL9P>