1

I want to completely disable resetting root password! Is it possible? If yes, then how?

1 Answers1

2

If you wish to prevent people with access to your computer from changing your root password, you can encrypt your entire Ubuntu partition so that other people cannot boot your installation of Ubuntu at all without knowing the password to the partition.

This is because once somebody has physical access to your computer, there is no way (at least of that I can think of) to prevent that other than to have your root partition encrypted.

zhongfu
  • 1,449
  • 2
    IMO encryption is the best method, but, be warned, even with an encrypted install / boot is NOT ENCRYPTED. The encryption can be cracked if one has physical access either with a key logger (no all ke loggers are external) or by installing a custom kernel or custom initrd. IMO one MUST LIMIT PHYSICAL ACCESS. – Panther Apr 11 '15 at 17:05
  • You can partially work around that by using hardware-based full disk encryption solutions, but the point about keyloggers still stand. – zhongfu Apr 11 '15 at 17:18