LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-15-2006, 04:50 PM   #1
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Change root password Ububtu 6.10


Can someone tell me how to change the root password in Ubuntu 6.10 with konsole?
I've tried to do it with the graphical mode but it just won't work.

Thanks
 
Old 12-15-2006, 05:13 PM   #2
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
sudo passwd root
 
Old 12-15-2006, 05:18 PM   #3
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Original Poster
Rep: Reputation: 90
Great!!
Thanks!!
 
Old 12-15-2006, 06:57 PM   #4
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Do you even have a root account in Ubuntu ? Here is a link explaining the command line passwd program.

http://www.computerhope.com/unix/upasswor.htm

Good luck...

David
 
Old 12-15-2006, 08:02 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
There isn't a root password in Ubuntu. Administration is performed by members of the admin group by users listed in a file named sudoers. The first user created is by default in the admin group. To perform criticle administration like installation or to have access to root owned resources an admin uses their own password. If you check you will find that root isn't a member of the admin group. This will seem a bit strange to someone accustomed to root only administration in SuSE for example. You will get over it. If the root account is some how breached in Ubuntu the vandal will still require a password for admin functions. I will not argue the merit of root vs admin group. Admin group is an effective way to manage a system and it's the way Ubuntu has chosen. Although a little strange at fist I'm now very comfortable to it.
 
Old 12-15-2006, 09:59 PM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Original Poster
Rep: Reputation: 90
fragos:

Thanks!!
That explained my befuddlement completely.

So it's best to let Ubuntu be Ubuntu, and let Suse be Suse.
I just installed Ubuntu as something to mess around with and I'm impressed with it.
I was just confused by the root thing.
Thanks for your input, I'll not "fix" what ain't broke.
 
Old 12-15-2006, 10:15 PM   #7
r.stiltskin
Member
 
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Rep: Reputation: 31
Quote:
Originally Posted by fragos
There isn't a root password in Ubuntu.
There is, if you create one as Duck2006 stated earlier. So if you find it annoying to type sudo before every administrative command, you're not forced to do things the "ubuntu way".

Root may not be in the admin group, but that doesn't seem to stop root from doing all the things root can normally do. I've been using ubuntu on my laptop for a few months, using sudo when it's convenient and using root when that is more convenient, and "root" has never been unable to perform any normal root function.
 
Old 12-15-2006, 11:28 PM   #8
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
you don't need to set a root password to get a root shell
sudo -i
sudo -s
both will give you a full root shell
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 07:27 AM
change root password? ice99 Programming 1 08-10-2005 11:18 AM
when i change root password ,it says: BRAHmS Linux - General 0 05-11-2004 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:56 AM.

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