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)
Sun, Dec 8, 5:25 PM
Unknown Object (File)
Fri, Dec 6, 6:34 PM
Unknown Object (File)
Fri, Dec 6, 6:34 PM
Unknown Object (File)
Sun, Dec 1, 4:07 AM
Unknown Object (File)
Thu, Nov 28, 3:59 PM
Unknown Object (File)
Thu, Nov 28, 3:59 PM
Unknown Object (File)
Thu, Nov 28, 3:37 PM
Unknown Object (File)
Nov 24 2024, 8:49 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