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, May 9, 1:27 PM
Unknown Object (File)
Sun, Apr 28, 1:46 PM
Unknown Object (File)
Sun, Apr 21, 11:05 AM
Unknown Object (File)
Mar 28 2024, 2:58 AM
Unknown Object (File)
Mar 22 2024, 5:36 AM
Unknown Object (File)
Mar 10 2024, 9:34 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