LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2008, 10:19 PM   #1
alperkins
LQ Newbie
 
Registered: Nov 2008
Location: USA
Posts: 2

Rep: Reputation: 0
o.k. how can one change the root password?


Having a blast with Linux as a newbie. But I have one mystery in progress.

I have Ubuntu 8.10 on a second partition and now in Windows I have a virtual install of AndLinux. (the AndLinux uses Ubunto 7.10)

In both installs, I was never asked to set the root password. I just setup my main ueer id.

I've had no problem using "sudo" to do root operations, but if I try and use "su", I get no where as I don't know the root password.

Anyone have an answer? (I certainly hope it's not a "start at the beginning and install your Linux again, as I have a ton of goodies working already).

Thank you for the help guys!

Search only had ideas on MySql and other lost passwords.
 
Old 12-15-2008, 10:27 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
IIRC you can just use sudo su and then the passwd command. I haven't used Ubuntu for a while now though...
 
Old 12-15-2008, 10:28 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Here is how to set the Ubuntu root password:

http://digiassn.blogspot.com/2006/07...in-ubuntu.html

Here is how to allow root logins at the login screen:

http://digiassn.blogspot.com/2006/10...er-ubuntu.html

-----------------------
Steve Stites
 
Old 12-16-2008, 12:44 AM   #4
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Red face password help

$ sudo passwd

prompt u to type new pass

Enter new password
Confirm

Password accepted succesfully
 
Old 12-16-2008, 10:20 PM   #5
alperkins
LQ Newbie
 
Registered: Nov 2008
Location: USA
Posts: 2

Original Poster
Rep: Reputation: 0
Sweet!

YES!!! I've been able to set the Root password now on Ubuntu.

AndLinux is a bit strange as it doesn't carry out the command, but then I've found the NT console is going all the way down to the # rompt, so maybe that's another avenue for me to check out.

Long story short....THANK YOU...to those who left great ideas to follow. Hoping you're headed for a great holiday.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to change root password without knowing the grub password ramesh.mimit Red Hat 8 10-15-2011 06:12 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 08:27 AM
when i change root password ,it says: BRAHmS Linux - General 0 05-11-2004 10:15 PM


All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration