Find the answer to your Linux question:
Results 1 to 4 of 4
Alright, so i have been running Ubuntu for about 3 days now, finally getting all my files moved back to the drive and what have you.I came from running windows, ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    su password; auth failed

    Alright, so i have been running Ubuntu for about 3 days now, finally getting all my files moved back to the drive and what have you.I came from running windows, and an Android phone with full su access, and done up all custom-like....
    I am loving the speed, etc. great experience so far. BUT: the headphone port on my laptop is broken, and so I run [ran] and external soundcard, a Creative X-fi 5.1 USB SC. I have found linux drivers for this unit, and am trying to install. I have googled the crap out of how to do this, yet am getting stuck.

    Here is where I'm getting stuck. I have extracted the package, entered into the sub folder, and am trying to run the Make install:

    ...laptop:/tmp/xfi-0.0.0.0$ cd ./xfi
    ...laptop:/tmp/xfi-0.0.0.0/xfi$ su -c "make install"
    Password:
    su: Authentication failure
    ...laptop:/tmp/xfi-0.0.0.0/xfi$



    what in heck do i type at password... have I NOT done something, am I doing something wrong.... it does not accept my normal password, so I am lost.


    *help?*

    Sorry for the ellipsis, as this is my first post, apparently I'm not allow to post actual code there, as it is read as a link....

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Welcome to the forums! Sorry to hear about your difficulties.

    Ubuntu, by default, does not use su. Instead, it uses sudo. Using sudo is relatively simple:
    Code:
    sudo <command>
    You will be prompted for your password: this is your user's password, not a root password. Any command run with sudo runs as though it was root.

    There are many arguments about whether su or sudo is better, but sudo's main strengths are that you only need a single password, and it times out, so you can't have a persistent root session in a terminal if, for instance, you forget to set your screensaver and someone gets access to your computer.

    If you want to setup su on Ubuntu, it is easy though. Just run:
    Code:
    sudo passwd
    to set a root password, and then use that password for su.

    I hope this helps!
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    alright, that does answer a few questions, and got that resolved... but now I am lost..... I no longer know how to get this going.... ugh... I hate being a noob! so, what would be the code for make file, seeing as how "su -c "make install"" is no longer valid


    or am i just missing something.... i AM new to this type of coding, so pardon my.....ignorance
    Attached Images Attached Images

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Replace su -c with sudo. It will be
    Code:
    sudo make install
    I would suggest you to check this sticky.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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