> -------- Original Message --------
> 
> >
> > 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).
> 
> Why not? Maybe the system is always in a secure room or there is always the
> alternative of lock, hibernate, shutdown or local privilege escalation could
> likely get root from your GUI anyway (though maybe not on OpenBSD ;). I don't
> do
> it on OpenBSD though because it isn't worth supporting and not supported and I
> don't want a possibly incomplete login.


Hello
So, I know that there is a lot of differing (and strong) opinions on access to 
a terminal bypassing the normal login password process.

But, if the intent of this question was to create an easy way to see a root 
shell on a local terminal, it can be done.

It is workable, and has been for years.  Unveil disrupted it in 2018, but it 
was corrected so that the documented behaviors were maintained.

https://www.mail-archive.com/[email protected]/msg164637.html

It just can't be done with a simple /bin/sh; there has to be something there 
that spawns an appropriate login environment.

Now, in my situation, if someone has the resources to break into my house, get 
to the basement, access the locally connected terminal to my 
fileserver/whatever, and do all that without leaving a trace; I have a lot 
bigger problem than having a local terminal that does not require a password.

So, I have easy, password-less access at a local terminal on those rare 
occasions when I need it.

But, since I know there are strong feelings that this is not good, I will just 
point to my higher-level description in 2018 on how to do it.

Ted


Reply via email to