how to login as root on Ubuntu 8.04 LTS (Hardy Heron)

Discussion in 'HOWTO-Related Questions' started by webbie_webb, May 6, 2008.

  1. webbie_webb

    webbie_webb New Member

    Hello everyone

    i try to login as root on Ubuntu 8.04 LTS (Hardy Heron) with: su

    the terminal retrieves: su: Authentication failure


    for sudo it retrieves:

    sudo: unable to resolve host named-desktop
    usage: sudo -h | -K | -k | -L | -l | -V | -v
    usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
    {-i | -s | <command>}
    usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...


    Any sugestions=?

    Thanks in advance,

    : respect :
     
  2. Leszek

    Leszek Member

    Ubuntu comes with disabled root account by default so You can log in after giving root a password:
    Code:
    sudo passwd root
    and entering the password of the first user added to the system.

    Keep in mind that You don't have to enable root account to have root privileges.You can use sudo instead.For example:
    Code:
    sudo [command]
    will execute a command after entering the password of the first user added to the system.
    Code:
    sudo su
    will let You have root privileges without typing sudo all the time.
     
  3. webbie_webb

    webbie_webb New Member

    ok many thanks ;- )

    its seems to work though i still get some errors...

    for example, for file share configuration i get this screen bellow

    [​IMG]

    Any sugestions for this? How should activate the "Administrator Mode" button?

    Thanks and best wishes

    :cool:
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is it possible that the "Adminsitrator Button" is hidden because the window is too small? Can you enlarge the window?
     

Share This Page