1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

UBUNTU 12.04 LTS. Please help

Discussion in 'BlackHat Lounge' started by Srikaanth, Aug 31, 2013.

  1. Srikaanth

    Srikaanth Junior Member

    Joined:
    Jul 28, 2012
    Messages:
    143
    Likes Received:
    82
    Occupation:
    IMer
    Location:
    Internet
    I dual booted Ubuntu 12.04 along with Windows 7 yesterday. I can login to Ubuntu with my password . But when I use su or sudo command and enter the same password, I get "su: authentication failure"

    I need to fix this asap.
    Thanks in advance.
     
  2. Srikaanth

    Srikaanth Junior Member

    Joined:
    Jul 28, 2012
    Messages:
    143
    Likes Received:
    82
    Occupation:
    IMer
    Location:
    Internet
    I'm not able to use "sudo passwd" to change the password as even sudo command won't accept my login password. it says "Sorry, try again"
     
  3. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,356
    Likes Received:
    5,418
    Gender:
    Male
    Location:
    South Africa
    Home Page:
  4. Patel

    Patel Senior Member

    Joined:
    Mar 1, 2011
    Messages:
    1,116
    Likes Received:
    1,503
    Location:
    On the coast
    Are you sure you are logged in as root? Run terminal as root maybe that should help
     
  5. 1337python

    1337python Regular Member

    Joined:
    Jun 18, 2013
    Messages:
    392
    Likes Received:
    235
    Location:
    127.0.0.1
    You have to set your Root password first, you can do that by typing "passwd", no need for "sudo passwd" I think you have to enter your current password aswell, or if you don't you don't I'm currently using windows, so I can't say exactly. Just type "passwd" enter your new passwords and it will work. I hope I helped.
     
  6. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    8,835
    Likes Received:
    7,450
    Occupation:
    ZLinky2Buy SEO Services
    Location:
    ⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩⇩
    Home Page:
    On Ubuntu you don't log in as root. You need to sudo everything.

    To change the root password you need sudo passwd root