LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   CentOS-run as root (https://www.linuxquestions.org/questions/linux-distributions-5/centos-run-as-root-540474/)

phantom_cyph 03-25-2007 11:59 AM

CentOS-run as root
 
I need to be able to run as root at times to install different applications. For example, when typing "yum install fluxbox", it tells me I have to be root. How can I start a root terminal?

Brian1 03-25-2007 12:06 PM

Open a terminal an type ' su ' or ' su - '. Using su - gives you root plus root's enviroment varibles. Just plain su is root but still using users envirmonet variables.

Brian

phantom_cyph 03-25-2007 12:25 PM

Dang. Thanks for the prompt response. It worked. Thank-you very much.

<edit>I had to type "su - root" and then the password and then it logged me in as root, then I went on to my commands.</edit>

Brian1 03-26-2007 05:19 PM

I would not think you need to type ' su - root ' but stranger things can happen. Anyways glad to to be of help.

Brian


All times are GMT -5. The time now is 08:22 AM.