root password, duh

etienne_marais

Honorary Master
Joined
Mar 16, 2008
Messages
16,250
Reaction score
19,740
Location
Centurion
So I installed ubuntu 14.10 (unaware that root was locked) some weeks ago. Today I needed root access for a mount, thinking that I forgot the root password I re-installed Ubuntu with the keep documents option but there was no option to set the root password, so I re-installed from scratch hoping to set the root password. What a waste of time and a fair amount of idiocy. Found out since that it is possible to set root password using expert mode.

The computer is for a worker who is very computer illiterate, did not have old Windows to install for him so I chose Linux, now I feel like the dummy.
 
Its very simple to set the root password, sudo passwd root when you login as the user you created.
You could also have booted to single user mode to reset it.
 
Yeah, I missed the superuser indication when I created the account, I thought that the user would not be in the sudoers file so I did not even try.
 
One of the things I find frustratiing about Ubuntu.

I don't need or want a nanny OS.
 
Yeah, I missed the superuser indication when I created the account, I thought that the user would not be in the sudoers file so I did not even try.

you didn't miss it. ubuntu does not create a root user by default.

iirc, you need to do sudo command

and then you enter the user password
 
What milo said.
sudo mount ...
YOUR login password when requested

I don't miss the root user at all.
 
Top
Sign up to the MyBroadband newsletter
X