how do create a real root

Wander Boessenkool wander at tomaatnet.nl
Sat Nov 20 10:42:07 UTC 2004


On Sat, 2004-11-20 at 01:47 -0500, Ben Kuang wrote:
> hi:
> 
> Can anyone pls tell me how to create a real root account on ubuntu? 
> because the default is no root, and sudo to perform root tasks.  But i

sudo vi /etc/passwd
Now look for the line that starts with root, and edit it so it looks
likes this:
root:x:0:0:root:/root:/bin/bash

(The last part is the shell you want your root-account to use)

now give root his own password:

sudo passwd root

fill in a strong password, and your ready to log in.


> would prefer a real root account like other distros.
> 
> Thank you.
> 
-- 
***********************DISCLAIMER**********************
Indien u de inhoud van dit bericht reeds vergeten bent,
kunt u deze disclaimer als niet geschreven beschouwen.
***********************DISCLAIMER**********************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041120/a7c30b9b/attachment.sig>


More information about the ubuntu-users mailing list