The branch stable/15 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=59573a006c6901f39b16bc9bff484feebccaf37e
commit 59573a006c6901f39b16bc9bff484feebccaf37e Author: Dag-Erling Smørgrav <[email protected]> AuthorDate: 2026-06-25 03:05:36 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2026-06-28 09:43:40 +0000 adduser: Normalize supplemental groups Rather than insist on a space-separated list, normalize the input so that any number of spaces, commas, colons, or semicolons are accepted. Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D57774 (cherry picked from commit 65fba082f44cb9451d2b12bcd99c3287d0a47acc) --- usr.sbin/adduser/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index ecac7478befd..7db5fafcce62 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -580,7 +580,7 @@ get_groups() { fi read _input - [ -n "$_input" ] && ugroups="$_input" + [ -n "$_input" ] && ugroups="$(echo "$_input" | tr -s ',:;' ' ')" } # get_expire_dates
