[Bug 245342] adduser.sh silently sets a password different from the input if it contains leading/trailing spaces
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 27 19:30:20 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245342
--- Comment #2 from commit-hook at 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= for just the read lines to mitigate this, allowing the user to be
less surprised when their leading/trailing spaces weren't actually captured
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-bugs
mailing list