This caused adduser to produce an invalid pw(8) command line. Due to
bugs in pw(8), the command line was silently accepted and led to the
user being created, but locked out and with no home directory.
Fixes: 170d0882903e
MFC after: 3 days
Differential D45098
adduser: Fix confusion between `uclass` and `_class`. des on May 6 2024, 12:00 PM. Authored by Tags None Referenced Files
Subscribers None
Details
This caused adduser to produce an invalid pw(8) command line. Due to Fixes: 170d0882903e
Diff Detail
Event TimelineComment Actions I applied this change (only) and ran the script; I got: OK? (yes/no) [yes]: Comment Actions This version works (adds the user correctly and defaults to not adding another user). Tested only on UFS; will test on ZFS in an hour or so. |