diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-04-05 19:25:46 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-04-05 19:25:46 +0000 |
commit | ba081586ea29116ae7f8c195a8bb01527ef729b7 (patch) | |
tree | 6d383272f8462bd139b7ec4d567c73518fb7d7da /pw/pw_group.c | |
parent | a4ba6edfe75c4ed6cc70fdff9a7c22b2e49a8129 (diff) | |
download | pw-darwin-ba081586ea29116ae7f8c195a8bb01527ef729b7.tar.gz pw-darwin-ba081586ea29116ae7f8c195a8bb01527ef729b7.tar.zst pw-darwin-ba081586ea29116ae7f8c195a8bb01527ef729b7.zip |
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
Diffstat (limited to 'pw/pw_group.c')
0 files changed, 0 insertions, 0 deletions