It's beginning to make more sense to me now. Thanks!!

On Mon, Jan 5, 2026 at 4:31 PM Crystal Kolipe <[email protected]>
wrote:

> On Mon, Jan 05, 2026 at 02:11:48PM -0600, Thea DeSilva wrote:
> > Hmm.... so I decided to tack it on an existing tap just to keep changes
> to
> > a minimum. Still doesn't work. Here's a cap of my gettytab and my ttys
>
> Please cut and paste text rather than sending screenshots if at all
> possible.
>
> Anyway, you've set:
>
> lo=/bin/sh
>
> what do you expect to happen?
>
> This won't give you an automatic root shell on the specified terminal,
> (which
> is probably not a great idea anyway).
>
> When you say it's being ignored, I'm guessing you're seeing something like:
>
> ---
> OpenBSD/amd64 (hostname.domain) (ttyC0)
>
> login: foobar
> login: foobar: No such file or directory
> ---
>
> But try this from a regular shell:
>
> $ sh -p -- foobar
> sh: foobar: No such file or directory
>
> So in fact it's not being ignored, and sh is indeed being invoked by getty.
>
> The program you specify with 'lo' is intended to accept and process certain
> arguments, usually to start a login session, set up environment, etc, etc.
>
> It's not just any old program.
>
> To see what's happening, try using /bin/echo:
>
> lo=/bin/echo
>
> ... and you'll see the arguments that are passed.
>

Reply via email to