-2

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.

2 Answers2

0

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

How can I add a new user as sudoer using the command line?

Noki
  • 942
0

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.

This answer explains what sudo is and does.

Tim
  • 33,500