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
F116275536: D44279.id.diff
Sun, May 4, 4:09 PM
Unknown Object (File)
Thu, Apr 24, 5:53 AM
Unknown Object (File)
Tue, Apr 22, 7:35 PM
Unknown Object (File)
Thu, Apr 17, 2:16 AM
Unknown Object (File)
Mar 27 2025, 9:14 AM
Unknown Object (File)
Mar 20 2025, 4:02 AM
Unknown Object (File)
Feb 26 2025, 3:37 AM
Unknown Object (File)
Jan 29 2025, 2:12 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