Page MenuHomeFreeBSD

bsdinstall: implement adduser with bsddialog
Needs ReviewPublic

Authored by khorben on Mar 8 2024, 2:44 PM.
Tags
None
Referenced Files
F135558906: D44279.id.diff
Mon, Nov 10, 7:40 PM
F135537777: D44279.id135550.diff
Mon, Nov 10, 3:38 PM
F135494258: D44279.diff
Mon, Nov 10, 7:41 AM
Unknown Object (File)
Thu, Nov 6, 10:49 PM
Unknown Object (File)
Wed, Nov 5, 11:38 AM
Unknown Object (File)
Wed, Oct 29, 10:34 PM
Unknown Object (File)
Tue, Oct 28, 3:14 PM
Unknown Object (File)
Sat, Oct 25, 5:11 PM
Subscribers

Details

Reviewers
jrtc27
Summary

This provides a more consistent user experience to the FreeBSD installer, at the expense of some functionality: it is no longer possible to generate a random password, or lock the user upon creation.

The default values are otherwise similar to the original script based on adduser(8), however due to limitations in bsddialog(1), the possible values cannot always be presented to the user anymore.

Test Plan
# BSDINSTALL_CHROOT=/ bsdinstall adduser

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped