Page MenuHomeFreeBSD

bsdinstall: implement adduser with bsddialog
Needs ReviewPublic

Authored by khorben on Mar 8 2024, 2:44 PM.
Tags
None
Referenced Files
F169551109: D44279.id135550.diff
Tue, Sep 1, 9:45 PM
F169475951: D44279.diff
Tue, Sep 1, 3:30 PM
F169471105: D44279.diff
Tue, Sep 1, 3:14 PM
Unknown Object (File)
Sun, Aug 30, 2:14 PM
Unknown Object (File)
Fri, Aug 28, 10:16 AM
Unknown Object (File)
Fri, Aug 28, 1:07 AM
Unknown Object (File)
Wed, Aug 26, 1:52 PM
Unknown Object (File)
Fri, Aug 21, 11:02 AM
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