[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
Sun Apr 5 19:35:59 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245342
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kevans
Date: Sun Apr 5 19:25:46 UTC 2020
New revision: 359642
URL: https://svnweb.freebsd.org/changeset/base/359642
Log:
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
Submitted by: dereks_lifeofadishwasher.com
Reviewed by: jilles
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24292
Changes:
head/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