Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, Please can anyone help me, I'm using an eee PC and I've got stuck I need to log in as root. So I use shell prompt and type in ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    Eee pc log in as root

    Hello,
    Please can anyone help me,
    I'm using an eee PC and I've got stuck

    I need to log in as root. So I use shell prompt and type in "su -". Then i'm prompted to supply a password, which I do not know. Is there a way to reset the su password?

    If you can offer me any advice on this I'd be so grateful

    Thankyou

    John2006

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by John2006 View Post
    Hello,
    Please can anyone help me,
    I'm using an eee PC and I've got stuck

    I need to log in as root. So I use shell prompt and type in "su -". Then i'm prompted to supply a password, which I do not know. Is there a way to reset the su password?

    If you can offer me any advice on this I'd be so grateful

    Thankyou

    John2006
    Welcome to the forums!

    Here's a HowTo describing a number of ways to reset your root password:

    http://www.linuxforums.org/forum/lin...-password.html

    Maybe you have sudo setup on your machine. If so, check this HowTo for using it, or for instructions to enable the root account:

    http://www.linuxforums.org/forum/ubu...in-ubuntu.html
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Debian GNU/Linux -- You know you want it.

  4. #4
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    I have found two ways to obtain root privileges, and neither ask for a password.
    Code:
    sudo bash
    This gives you root privileges, but keeps you in the /home/user directory.
    Code:
    sudo -i
    This gives you root privileges, but puts you in the /root directory.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...