Results 1 to 5 of 5

Thread: Su password help

  1. #1
    Join Date
    Apr 2009
    Beans
    2

    Su password help

    Alright I've looked at as many threads as I could about this problem and I couldn't find a solution for me. I'm a new Linux user, this is my first installation, and I decided to go with Ubuntu. Now, when trying to install something using the "su" command, it asks for the password, I input the password, no masking asterisks or anything show up, which I read was normal, but when I hit enter it takes me to a new line, I wait about 1 second and it says "su: Authentication failure". I do not have any experience installing files in Ubuntu, I was reading off a guide to install Java. Any help or tips would be greatly appreciated.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Su password help

    Ubuntu disables the root account by default. Use "sudo" in place of "su", or you can use "sudo su".

  3. #3
    Join Date
    Jul 2007
    Location
    Wattisham, UK
    Beans
    2,473
    Distro
    Xubuntu

    Re: Su password help

    To expand on that, rather then type
    Code:
    su
    to login as the root user, type "sudo" before the command you want:
    Code:
    sudo ls /
    (12:25:08 PM) sabdfl: if Linux is just another way to run Windows apps, we can't win
    (12:25:13 PM) sabdfl: OS/2 tried that


    Blog | Dropbox

  4. #4
    Join Date
    Sep 2007
    Beans
    622
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Su password help

    What are you trying to install?
    The best/easiest way to install things in Ubuntu is to use Synaptic: System/Administration/Synaptic Package Manager. I would strongly recommend looking there first before you try to install something from other sources.

    Some people prefer to do "gksudo program name", then you get a graphical prompt to enter your password.
    Last edited by Niniel; April 27th, 2009 at 07:29 PM.

  5. #5
    Join Date
    Apr 2009
    Beans
    2

    Re: Su password help

    Quote Originally Posted by Niniel View Post
    What are you trying to install?
    The best/easiest way to install things in Ubuntu is to use Synaptic: System/Administration/Synaptic Package Manager. I would strongly recommend looking there first before you try to install something from other sources.

    Some people prefer to do "gksudo program name", then you get a graphical prompt to enter your password.
    I am trying to install Java. I looked in the Synaptic Package Manager and installed the java runtime environment, should I install all of the Java applications?

    EDIT: I got Java working, thanks for the help and quick responses.
    Last edited by Master0fWar; April 27th, 2009 at 07:36 PM.

Bookmarks

Posting Permissions

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