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.

    Quick basic question from Linux retard

    Discussion in 'Linux Compatibility and Software' started by Captain Fail, Jan 26, 2009.

  1. Captain Fail

    Captain Fail Notebook Evangelist

    Reputations:
    294
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    I have a Virtual Server with the CentOS 5 Linux operating system with GoDaddy (Oi, no laughing at the back! :D )

    The problem is, that phpmyadmin displays the error about mcrypt not being installed. Will this cause slowness or other problems?

    Just in case, I want to install it anyway just in case it does cause slowness or problems (although I might be wrong about that?)

    The good news is that i've found the instructions to do this:

    My basic stupid question is to do with step 3. How do I "su to the root user"? :eek:

    I'm asking here btw as this isn't just a server question, it also goes to my understanding of Linux overall, which will come in very useful when I install Ubuntu on my Notebook later on, and I will no doubt add to this thread later with more basic stupid questions :eek:

    Any help appreciated, and "LOL FAIL" is also an acceptable response ;)
     
  2. archer7

    archer7 Notebook Evangelist

    Reputations:
    289
    Messages:
    647
    Likes Received:
    0
    Trophy Points:
    30
    su stands for "substitute user", and it's used to execute commands as if you were that user. It can also be used to take over root's shell ("su to the root user") with this:

    Code:
    $ su -
    Note: The $ sign in prompts indicates a non- root shell. root shells are marked with a #.

    As a side note, you can also use su as root to execute a command from your user account; i.e. the following command will run geany from a root shell as if Captain_Fail called it:

    Code:
    # su - Captain_Fail -c geany
     
  3. Bungalo Bill

    Bungalo Bill Notebook Deity

    Reputations:
    97
    Messages:
    806
    Likes Received:
    0
    Trophy Points:
    0
    For future reference.

    Ubuntu uses sudo, sooo

    Code:
    $ sudo su
     
  4. Captain Fail

    Captain Fail Notebook Evangelist

    Reputations:
    294
    Messages:
    408
    Likes Received:
    0
    Trophy Points:
    0
    Cheers guys! :)
     
  5. Amranu

    Amranu Notebook Consultant

    Reputations:
    103
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    30
    He's not using Ubuntu? :confused:
     
  6. Bungalo Bill

    Bungalo Bill Notebook Deity

    Reputations:
    97
    Messages:
    806
    Likes Received:
    0
    Trophy Points:
    0
     
    Last edited by a moderator: Jan 29, 2015