root password setting unoffered at install

Gilles Gravier Gilles at Gravier.org
Sun Nov 4 17:00:53 UTC 2007


Kent,

This is normal. You are not supposed to administer Ubuntu as root. This 
is in many cases dangerous.

Rather, the way Ubuntu works is that you are asked to create one intial 
user. This user has administrative rights, in the sense that it can use 
SUDO to launch any administrative operations.

In effect, this means that when logged in as that user, you can launch 
any administrative operation and you will be prompted for your password 
(for security purposes) and the operation will take place. You can also 
use the "sudo" command with the same password control.

If for some strange reason you really need to log in as root, you can 
actually "sudo bash" or "sudo su -" which will do the trick.

But at no point do you ever need to have a root password for Ubuntu. It 
is normally blocked out. You never log in as root.

Consider this some form of very simplistic role based access control. 
Your normal user has the administrator role when it enters the correct 
password. Unfortunately not much fine grain control, but still... better 
than full access to root. :)

Gilles.

Kent Paul Dolan wrote:
> Hi, new kid on the block here.
>
> I just installed Ubuntu 7.10 (64 bit desktop version), and I
> was not offered a chance to set the root password during the
> install. Did I miss something, or is the default password for
> root published somewhere? I'm quite nervous about the default
> being left in place, so any help would be appreciated.
>
> I do know one trick: boot from the installation drive, remove
> the shadow password file, null the password for root in the
> password file, boot again from the hard drive, and go forward
> starting with a null root password, but that seems like more
> work than I should have to do.
>
> Help?
>
> xanthian.
>
>   

-- 
/*Gilles Gravier*/ *=* *Gilles at Gravier.org* <mailto:Gilles at Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles at Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
My Last Known Position / Ma Derniere Position Connue 
<http://www.gmap-track.com/user.php?user=ggravier>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071104/8e6a1fe8/attachment.html>


More information about the ubuntu-users mailing list