Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2020 07:13:19 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Don Wilde <dwilde1@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Getting a new shell to work for the 'toor' user
Message-ID:  <CAJuc1zMVoa4LV0RudiE_Linz9c2pgqmQzTqvGxxRauksW3ZfaA@mail.gmail.com>
In-Reply-To: <dd305e85-4b3f-6fd0-cc55-be3c890bf349@gmail.com>
References:  <dd305e85-4b3f-6fd0-cc55-be3c890bf349@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Jul 2020 at 07:10, Don Wilde <dwilde1@gmail.com> wrote:
>
> All,
>
> I finally got around to -- I thought :) -- completing my inclusion of
> bash-static as a usable shell.
>
> It works as an available shell in 'adduser', but when I tried to use it
> as a recovery shell (see attached .odt), I ran into a problem. My fist
> pass was to add /bin/stbash to the end of the toor line in
> master.passwd, but that didn't change it even after a reboot.

You have to use vipw(8).
-- 
Jonathan Chen <jonc@chen.org.nz>



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