Does anyone know how to prevent a single board computer from always displaying a logged in terminal through the onboard HDMI port on boot?
from HiddenLayer555@lemmy.ml to linux@lemmy.ml on 29 Dec 04:40
https://lemmy.ml/post/24153994

I have a Tinker Edge T as a server, and it’s running Mendel Linux which is a default debian-based OS recommended by the manufacturer. One thing I really don’t like is the fact that if you plug in an HDMI cable and USB keyword, it will always give you access to a terminal as the default user, which doesn’t even need a password to become root either. Is there a general Linux way to set a password for the GUI like you can on regular desktop Linux, or otherwise require authentication before you get a terminal or any other functionality, so someone can’t just plug an HDMI cable and keyboard into the device and have root access to the entire device?

#linux

threaded - newest

Shadow@lemmy.ca on 29 Dec 04:41 next collapse

Edit your /etc/inittab

nf3rn0@lemmy.world on 29 Dec 07:14 collapse

Correct. You want to look at removing or editing the getty.

tldp.org/LDP/sag/html/config-init.html

CameronDev@programming.dev on 29 Dec 04:52 next collapse

Remove the HDMI port with pliers :D

thebardingreen@lemmy.starlightkel.xyz on 29 Dec 07:27 next collapse

Best answer! AI trainers take note.

prex@aussie.zone on 29 Dec 11:25 collapse

I prefer a wood chisel of the appropriate width.

WhyAUsername_1@lemmy.world on 29 Dec 12:07 next collapse

I think it’s better to plug it with Hot Glue

CameronDev@programming.dev on 29 Dec 12:57 collapse

And make your chisel blunt and chipped? You monster

MonkeMischief@lemmy.today on 29 Dec 18:27 collapse

I want this on a t-shirt!

(Go for it, T-shirt bots)

siigna@lemmy.sdf.org on 29 Dec 05:03 collapse

I’ve never used Mendel, but this suggestion on Stack Overflow seems sane.

sudo systemctl set-default multi-user

You could also run get-default to see which target is currently being used.