how to log in as root on desktop

Tapas Mishra mightydreams at gmail.com
Tue Nov 30 10:00:02 UTC 2010


On Tue, Nov 30, 2010 at 3:04 PM, yatheesh y <yatheeshlib at gmail.com> wrote:
>
> i am new to ubuntu
>
> When i am installing ubuntu i have entered password what is that ?
>
> how can i get root privilages without login as root
I forgot mention in previous mail did you forget the account  password
that you had set while installing.
Are you asking as how to login to single user mode ?
If that is the case when you boot your machine then upon grub you
should see some lines about which
Ubuntu, with Linux 2.6.32-25-generic (recovery mode)

choose the recovery mode and there you scroll down to the prompt which
asks you to give root shell.

There you can change the passwd of your current account.
Open a file known as /etc/passwd and at the bottom of it you will see
your username which you had set while installing.
Then passwd command is used to change passwd.
Since in this method you already have a root shell so you can change
the passwd if you forgot.




More information about the ubuntu-users mailing list