Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer 1

up vote 8 down vote accepted

Yes, it is.

sudo passwd -dl root

https://help.ubuntu.com/community/RootSudo#Re-disabling_your_root_account

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

Your Answer

 
discard

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.