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

Is it possible to unset the root password once it has been set in ubuntu?

Am trying to run a backup using Arcserve R16 backups agents. I run it as the admin user but of course it does not have root permissions without sudo, which the backup agent does not run (or support). My thinking, to get an initial full backup, was to enable the root account and then run the backup as that user and then remove the password afterwards. Do not think this is strictly best practice but have been scrathcing my head over this for awhile now :(

share|improve this question
you'd need to explain how ArcServe works now. Since all the backup solutions I encountered run as root simply because they need to be able to access all files on the system. – Karlson Feb 14 '12 at 15:04
up vote 11 down vote accepted

Yes, it is.

sudo passwd -dl root

share|improve this answer
worked like a charm thanks – Tim Alexander Feb 14 '12 at 15:36

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.