by CaliforniaKarl · 2y ago · 0 comments
Linux consoles (the ttys that appear over local display or remote-access KVM, or the ttyS* devices that appear over serial ports and IPMI SoL) do not use sudo or su. Those consoles use a program like `getty`, or a window-manager; all those programs are non-suid programs that are started as root.
Your system should have a root password set, for logins via console.
TFA says that he's prefixing his password hash with '!', making login with a root password impossible (including at the console).
Hence GP's question.