Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been an Ubuntu user for a while now and not so long ago one of my computers got hijacked and malicious code was installed in it by simply replacing my password using the various password recovery features in the OS.

Please help me. Your assistance will be greatly appreciated.

share|improve this question
in ubuntu? That's strange. Can you give some details.. screenshot? – Web-E Sep 1 '12 at 5:07
Various? Which? Unless we are talking about a user with administrative privileges (which can ofc be removed) or someone with physical access to the computer I don't see how can it happen otherwise. – Bruno Pereira Sep 1 '12 at 5:22
"various password recovery features" is not IMO specific. I think, you need to be more specific about methods, otherwise it would not a good fit for this kind of site. – Anwar Shah Sep 1 '12 at 6:15
Disable booting from CDs and USB sticks in your BIOS and set a BIOS password. See this answer to stop grub changes and passowrd protect recovery mode – damien Sep 1 '12 at 6:19

Any PC or server is vulnerable to physical attack, if the attacker has unhindered access to the hardware.

So do one (or more) of the following:

(1.) Physically secure your hardware and data.

(2.) Use keys or BIOS password to discourage alternate methods of booting.

(3.) Store your critical (or confidential) data in an encrypted volume, that requires an additional pass-key (or physical token) to allow access.

share|improve this answer
I recommend editing this to include or link to information about how to reconfigure GRUB to lock down both its menu entries and its recovery prompt. Without that, obtaining access is typically trivial (though if important data are encrypted then it will be difficult to discover the sensitive information). – Eliah Kagan Sep 1 '12 at 11:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.