The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    What's SU if you never set one?

    Discussion in 'Linux Compatibility and Software' started by ben2go, Dec 7, 2010.

  1. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    Trying to install Java and the instructions say to enter a super user password.I have never set an SU password.What do I do?

    Mint 10 Julian on an FD.
     
  2. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    It's just your user password. Also, why aren't you using the package in the repository?
     
  3. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    I never set a user password.Last time I tried to set a user password I had big problems and was never able to log back in.So I started over with Mint 10.I did finally use the repository after I realized I didn't have to do it the hard way.Noob mistakes are killing me.Every time I update or install a program,I loose all of my fire fox settings,all of my plug ins,all of my themes,and all of my user names and passwords.I'm getting really frustrated with all these unexplainable issues.
     
  4. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    That's odd...are you sure it's not user error? Also, you did set a user password, it's the one you entered upon installation.
     
  5. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Next time run it with sudo or gksudo instead ( gksudo ./javainstaller or whatever). su will fail unless you have explicitly set a root password, the way to get su working is strangely enough, with sudo. So as a normal user, this will bring you to a root shell:
    Code:
    sudo su
     
  6. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    Probably and I was never directed,during install, to enter a user password.Still haven't figured out the issue in fire fox.I'm gonna go check settings,again.It will not leave me signed in and will not save passwords or user names.
     
  7. likuidkewl

    likuidkewl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    If you have never set one then "sudo -s" should elevate your privileges on your user and keep the elevated access, then you should do "su root" this will switch the current user to root, now you can set a password by typing "passwd"(note all " should not be typed)
    now ctrl+d to get out of the root session and ctrl+d again to get back to your normal user level access.

    Note: some porgrams still require a root password and user account to install correctly because sudo is not truly a super user.
     
  8. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    Thanks for that info.I'll give it a try.
     
  9. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    I haven't been using my puter much.Do I make these changes using terminal?
     
  10. likuidkewl

    likuidkewl Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    5
    yes, that is what the # and/or $ indicate.

    # is a ROOT prompt and $ is a user prompt
     
  11. ben2go

    ben2go Notebook Consultant

    Reputations:
    6
    Messages:
    277
    Likes Received:
    3
    Trophy Points:
    31
    Ok. Thanks.
     
  12. alf55

    alf55 Newbie

    Reputations:
    0
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    5

    The program "su" is "Switch User" it allows you to log in as another user (supplied on the command as an argument and default to username "root"). Most of the times users use the command "sudo" which if you are allowed to allows you to run the command (passed as its arguments) as username "root" without having to know the password for root but requires you to verify that you are you by supplying your own password.

    The command "sudo" has a configuration file that defined who is allowed, hosts that that user can be on, and what commands are allowed.