Hacker News new | ask | show | jobs
by tokenizerrr 3008 days ago
Reboot into single user mode, reset root password, and done.
2 comments

The issue is the new admin has no way to know whether all the processes running before the reboot are configured to come up automatically, and no sense of what external dependencies the server has. Further, the admin is forced to deal with problems reactively at boot time, rather than having the opportunity to gain an understanding of the server setup in advance.
Not if grub is encrypted, better even behind FDE.
How does booting for remote login in such a setup work though? You'd have to be physically present in order to enter the passphrase.
For that I do an ssh shim at initram (with portknocking) for key entry preboot
I would love to read a tutorial on that if you know of one.