Deny login via serial console

I am trying to do the opposite: allow login from ssh only.

Is there a good way to deny login or console ONLY from serial?

Why would you want that? To login over serial you need physical access. If you have physical access you can also apply a failsafe, bypassing all your blocks.

Anyway, have you already tried to edit /etc/inittab to remove the login?

2 Likes

https://openwrt.org/docs/guide-user/security/openwrt_security#securing_tty_and_serial_console

3 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.