I have recently installed Ubuntu 14.04.
I would like to create a root user along with the admin account that was setup during installation.
The default admin account does not have a root privilege.
I have recently installed Ubuntu 14.04.
I would like to create a root user along with the admin account that was setup during installation.
The default admin account does not have a root privilege.
Any user in the 'sudo' group should have this privilege.
You can make a terminal root (if you're feeling brave and rebellious) by typing sudo bash
but there is really no need.
Other users can be added to this group thusly sudo adduser <username> sudo
I would like to create a root user along with the admin account that was set-up during installation.
Admin and Root are one and the same on Ubuntu, which means that this:
The default admin account does not have a root privilege.
is wrong.
It really depends what you want to do with the root privilege.
If you need to edit a file, you need to use sudo
in the terminal - for example this command will open a file called "file.txt" from root's home area:
sudo -i gedit /root/file.txt
If you are going to be running lots of commands, use sudo su
first, then you don't need to keep typing sudo
.