LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2013, 09:23 PM   #1
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Rep: Reputation: Disabled
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.
 
Old 05-10-2013, 09:49 PM   #2
c0dex
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
Code:
$ sudo su -
Then:

Code:
passwd
Or

Code:
sudo passwd root
 
Old 05-10-2013, 11:16 PM   #3
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by c0dex View Post
Code:
$ sudo su -
Then:

Code:
passwd
Or

Code:
sudo passwd root
Your a legend, Thankyou
 
Old 05-11-2013, 01:31 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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.
 
Old 05-20-2013, 01:50 AM   #5
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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/

Last edited by TheCorporation; 05-20-2013 at 01:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
liveCD installer asks for root password, but means the liveCD's root password newbiesforever VectorLinux 4 04-23-2013 01:16 PM
[SOLVED] How to make my Qt application to ask username and password for root privileges? rohitkamboj Linux - Software 1 02-16-2013 10:47 AM
i forget my root password. how to login in root account with new password in red hat. balajiraja Linux - Desktop 3 08-22-2012 01:41 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration