LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2006, 02:06 PM   #1
zener
Member
 
Registered: Jul 2005
Location: Greece
Distribution: Mandrake 10.1 , Ubuntu 5.1
Posts: 59

Rep: Reputation: 15
Cannot set root password


I've installed Ubuntu 5.10, but through the installation process there wasn't any option to set the root password! Is there a way to set it up now?
 
Old 04-17-2006, 02:10 PM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Ubuntu has a philosophy of never using the root account. So they don't set a root password, so you can't su.
I didn't like this philosophy myself, it really slows you down when you have to sudo everything.
Try this:

sudo passwd

The first password you are asked for is your user password, then you need to enter a new root password, twice.
 
Old 04-17-2006, 02:30 PM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally Posted by bernied
Ubuntu has a philosophy of never using the root account. So they don't set a root password, so you can't su.
I didn't like this philosophy myself, it really slows you down when you have to sudo everything.
It hasn't slowed me down any.

I would advise to zener (not bernied) to give sudo an honest try.

You can read more about it here:
https://wiki.ubuntu.com/RootSudo
http://www.psychocats.net/ubuntu/permissions

The first link explains what sudo is, what the pros and cons of it are (as opposed to the root/user model), and how to enable the traditional root model if you want (simply setting a root password does not enable the full model).

The second link gives you some tips on how to use sudo graphically (in case you like drag-and-drop for root tasks instead of typing terminal commands).

If you use sudo for a while and find it just doesn't jive with your style, again, that first link explains how to enable a more traditional Linux root model.
 
Old 04-17-2006, 02:32 PM   #4
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
my humble apologies
 
Old 04-17-2006, 02:37 PM   #5
zener
Member
 
Registered: Jul 2005
Location: Greece
Distribution: Mandrake 10.1 , Ubuntu 5.1
Posts: 59

Original Poster
Rep: Reputation: 15
Does this has something to do with the fact that I can't even read my Windows XP partition(NTFS)?
How can I change this?
 
Old 04-17-2006, 02:44 PM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally Posted by bernied
my humble apologies
Huh? I'm just saying zener should give it a shot before changing it. You clearly have given it a shot yourself and decided it's not for you--that's cool.

Quote:
Originally Posted by zener
Does this has something to do with the fact that I can't even read my Windows XP partition(NTFS)?
How can I change this?
No, that's a totally different issue.

For that problem, follow this tutorial:
http://www.psychocats.net/ubuntu/mountwindows
 
Old 04-18-2006, 02:48 PM   #7
zener
Member
 
Registered: Jul 2005
Location: Greece
Distribution: Mandrake 10.1 , Ubuntu 5.1
Posts: 59

Original Poster
Rep: Reputation: 15
Something else concerning the XP partition: the OS won't let me to create a shortcut of a file there to the Linux partition. How can I change this?
 
Old 04-18-2006, 08:39 PM   #8
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally Posted by zener
Something else concerning the XP partition: the OS won't let me to create a shortcut of a file there to the Linux partition. How can I change this?
You're saying XP won't let you create a shortcut to Linux? Maybe you need this:
http://www.fs-driver.org/
 
Old 04-19-2006, 05:48 AM   #9
zener
Member
 
Registered: Jul 2005
Location: Greece
Distribution: Mandrake 10.1 , Ubuntu 5.1
Posts: 59

Original Poster
Rep: Reputation: 15
Looks good, I'll check it out later. No, what I meant is that Ubuntu won't let to create a shortcut in the home folder for a dir in the XP partition? How can I fix this?
 
Old 04-19-2006, 07:07 AM   #10
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
FS Driver, as it appears, is an extension for Windows to access Linux EXT2 filesystems.
If you wanted to modify files on NTFS from Linux, you would need to mount them writable. There's the Captive Driver to support that (as there doesn't seem to be such a driver in Ubuntu's repositories). - I haven't done that yet, too - it appears to require some reading.

As for the links, you cannot create them because the filesystem is not mounted writable. Furthermore, I found no way to edit existing links (i.e., changing the target).

What you can do is, to right-click on your desktop and choose "Create Launcher". In the field "Command", type "nautilus /path/to/folder". Dragging the folder into the field works; that will create the string "/path/to/folder" automatically.
 
Old 04-19-2006, 08:18 AM   #11
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Here's a better answer on how to create links
 
Old 01-27-2007, 12:40 PM   #12
bindi
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
*ubuntu no root user password

I just installed xubuntu on a lowend laptop and found this a bit weird too.

Even weirder that all users have sudo root ability.

Anyway to get a root shell just do "sudo bash" typing your password.

then you can set your root user password with passwd.

YMMV I am no xubuntu expert for sure so maybe you shouldn't set the root password, but I dont see the harm if you know what you are doing and/or are prepared for any ill consequences...
 
  


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 could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Set root password unexpired dwarf007 Linux - Newbie 4 12-12-2005 01:49 PM
Cannot Log into MySQL root password I just set... k41184 Linux - Software 3 07-18-2005 10:57 AM
unable to install LILO nor set root password aquilolumen Slackware - Installation 10 07-07-2005 01:15 PM
What should I do to set root password backpacker Linux - Newbie 1 06-10-2005 03:19 AM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration