Page MenuHomeFreeBSD

Extend adduser question to include explanation on how to separate the groups to join the new user
ClosedPublic

Authored by bcr on Tue, Jun 23, 1:06 PM.
Tags
None
Referenced Files
F162638558: D57768.diff
Wed, Jul 15, 7:27 AM
F162638557: D57768.diff
Wed, Jul 15, 7:27 AM
F162577754: D57768.diff
Tue, Jul 14, 5:38 PM
Unknown Object (File)
Mon, Jul 6, 12:18 AM
Unknown Object (File)
Mon, Jul 6, 12:15 AM
Unknown Object (File)
Sun, Jul 5, 4:26 PM
Unknown Object (File)
Sun, Jul 5, 4:23 PM
Unknown Object (File)
Sat, Jul 4, 8:36 AM
Subscribers

Details

Summary

During the non-root user setup (adduser.sh), people are often confused what the separator is when they are asked which groups to join the new user into. For example, wheel and operator. Users often assume that it is separated by a comma (and maybe even a space after it), but the script will check for that and refuse such entries.

Help the users by mentioning that the groups need to be space separated in the question itself. That way, it does not take up extra space and avoids confusion about what the separator is.

Test Plan
  1. Apply patch
  2. Run adduser.sh
  3. Check the question about "inviting the new user into other groups"
  4. Comment or approve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bcr requested review of this revision.Tue, Jun 23, 1:06 PM

The whitespace change after the fi was unintentional, but while I was there, I fixed it, too.

This revision is now accepted and ready to land.Tue, Jun 23, 1:08 PM