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)
Thu, Jun 13, 6:26 PM
Unknown Object (File)
Tue, May 28, 9:02 PM
Unknown Object (File)
Mon, May 27, 2:08 AM
Unknown Object (File)
Sun, May 26, 3:19 AM
Unknown Object (File)
Wed, May 22, 3:13 PM
Unknown Object (File)
Tue, May 21, 9:04 PM
Unknown Object (File)
Tue, May 21, 7:24 PM
Unknown Object (File)
May 9 2024, 1:27 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