LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I make a root password? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-make-a-root-password-4175461492/)

TheCorporation 05-10-2013 09:23 PM

How do I make a root password?
 
Hi,

I have CentOS 6.3/Firefox/pre-made virtual machine. It installs without a root password so my question is - How do I make a root password? I've done this before but can't remember how to do it.

c0dex 05-10-2013 09:49 PM

Code:

$ sudo su -
Then:

Code:

passwd
Or

Code:

sudo passwd root

TheCorporation 05-10-2013 11:16 PM

Quote:

Originally Posted by c0dex (Post 4948875)
Code:

$ sudo su -
Then:

Code:

passwd
Or

Code:

sudo passwd root

Your a legend, Thankyou:)

John VV 05-11-2013 01:31 PM

CentOS dose NOT use "sudo" by default
It is not set up by default ( might not even be installed )

and during the install it DOSE force you to make a root account and a root password
Then on the very first boot it runs you through the first set up
where you make a required "normal user" account, set the time zone.

TheCorporation 05-20-2013 01:50 AM

Quote:

Originally Posted by John VV (Post 4949186)
CentOS dose NOT use "sudo" by default
It is not set up by default ( might not even be installed )

and during the install it DOSE force you to make a root account and a root password
Then on the very first boot it runs you through the first set up
where you make a required "normal user" account, set the time zone.

It is CentOS 6.3 with Firefox in a pre-made virtual machine. Apparently CentOS and Firefox combined forces to make a pre-made virtual machine with A/V protected browser (or something to that effect) and it doesn't ask to setup root password during install.

This one here: http://browser.shell.tor.hu/


All times are GMT -5. The time now is 05:16 AM.