Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2026 20:16:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 294781] bsdinstall: setting a root password containing backslashes does not work
Message-ID:  <bug-294781-227-0ssIFNKksW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294781-227@https.bugs.freebsd.org/bugzilla/>

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

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

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=44d33ead3d04b51881e7fba0cbed8f66f001280a

commit 44d33ead3d04b51881e7fba0cbed8f66f001280a
Author:     Lars Engels <lme@FreeBSD.org>
AuthorDate: 2026-04-25 14:41:24 +0000
Commit:     Lars Engels <lme@FreeBSD.org>
CommitDate: 2026-04-28 20:15:49 +0000

    bsdinstall: fix root password prompt with backslashes

    Use "read -r" to set the root password in "bsdinstall rootpass" to
    prevent issues with passwords containing one or more backslash
    characters.

    PR:             294781
    Discussed with: tuexen, crest
    Approved by:    khorben
    MFC after:      3 days
    Event:          Wiesbaden Hackathon 202604

    (cherry picked from commit 1566386b90d34dea7f30a0e6b511e178bd0d50b8)

 usr.sbin/bsdinstall/scripts/rootpass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
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-294781-227-0ssIFNKksW>