Claudiu Persoiu

Blog-ul lui Claudiu Persoiu

Authenticated as root on ubuntu

with 2 comments

Ubuntu is based on the sudo command, apparently eliminating the possibility of directly using the root account.

Sometimes, when a series of commands must be executed as root from console, it becomes “annoying” to use sudo command.

Even though it doesn’t seem possible you can authenticate as root.

First of all the user must have root right,  when using sudo command!

The authentication can be done in two ways:
– sudo session:

sudo -s

– using su:

sudo su

Of course the root authorization is only for the current console. But from this console, for example other consoles can be opened, and they will be running as root.

Written by Claudiu Persoiu

22 January 2011 at 1:09 PM

Posted in Diverse,Linux-Unix

Tagged with

2 Responses to 'Authenticated as root on ubuntu'

Subscribe to comments with RSS or TrackBack to 'Authenticated as root on ubuntu'.

  1. Poti sa reactivezi contul root setand o parola pentru el.

    sudo passwd root

    Dupa asta te poti loga cu root.

    Si mie mi se pare enervant sa nu ai la dispozitie contul root. Isi are rolul lui.


    3 March 2011 at 10:49 AM

  2. Intradevar, dar si lipsa lui are rolul ei 🙂
    Practic este util daca esti sys-admin.


    3 March 2011 at 9:42 PM

Leave a Reply