root user

Asked by Gosydar on 2008-12-31

how to make root user

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
George Lesica (oldmanstan) said :
#1

you can run a command as the root user in a terminal by prefacing it with the 'sudo' command like so:

sudo apt-get install synergy

would install the package called synergy (you need to be root to install packages)

Revision history for this message
George Lesica (oldmanstan) said :
#2

sorry, you can also become the root user in a terminal window by using sudo to invoke the su command (you run the command to switch to root as root.

sudo su

then enter your password, you will see your prompt change... type exit to go back to being your normal user

it is very unwise to run as the root user on a regular basis

Revision history for this message
Florian Diesch (diesch) said :
#3

https://help.ubuntu.com/community/RootSudo has some informationsd about the (dis)advantages of using sudo.

https://help.ubuntu.com/community/Sudoers tells a bit about configuring sudo

Revision history for this message
peter (peter-neuweiler) said :
#4

If you like to use the root always, do the folowing:

1: > System > Administration > Login Window
2: Choose the tab Security
3: Enable the mark "Allow local system administrator login"

That's it. Hope it helps.
Peter

Can you help with this problem?

Provide an answer of your own, or ask Gosydar for more information if necessary.

To post a message you must log in.