Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2026 01:49:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 295428] Installer: root password truncates to 32 characters
Message-ID:  <bug-295428-8135-V7X3jIhCLn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295428-8135@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295428

--- Comment #4 from Devin Teske <dteske@FreeBSD.org> ---
Another issue is discovered, in that if you pass a maxletters value of zero (0)
then the behavior is undocumented -- the max becomes fieldlen. This behavior is
not in the bsddialog man-page that I could find.

This behavior would be fine if it were documented somewhere.

The effort was to try and see if there was a way to remove a limit.

Also tried was negative-one (-1) but that returns an error with invalid option.

So it's clear that passwordform must take a limit (which is confusing because
when we took the root password using cdialog we -- to the best of my
recollection -- never had to deal with a password limit).

The very fact that we have to provide a limit is what leads to the sub-par user
experience in this situation and not one, but at least 3 POLA violations
(silently truncated input; malformed truncation when you hit the limit and
backspace; inability to correctly interpret/act-upon meaningful keybindings
such as Ctrl-u)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295428-8135-V7X3jIhCLn>