Page MenuHomeFreeBSD

bsdinstall: implement adduser with bsddialog
Needs ReviewPublic

Authored by khorben_defora.org on Mar 8 2024, 2:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 4, 8:03 PM
Unknown Object (File)
Fri, Oct 4, 7:37 PM
Unknown Object (File)
Fri, Oct 4, 9:25 AM
Unknown Object (File)
Fri, Oct 4, 2:41 AM
Unknown Object (File)
Thu, Oct 3, 6:15 PM
Unknown Object (File)
Thu, Oct 3, 5:03 PM
Unknown Object (File)
Thu, Oct 3, 3:00 PM
Unknown Object (File)
Thu, Oct 3, 6:39 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