[Ilugc] Re: ilugc Digest, Vol 46, Issue 72

  • From: arvindvanam@xxxxxxxxx (arvind vanam)
  • Date: Mon Mar 31 15:09:38 2008

Hi,
     There are many ways you can reset the root password.In ubuntu initially
you donot have the root password set. So ,you can simply execute this
command by opening the terminal:
 sudo passwd

The shell will ask you for a new UNIX password and you get access to root
with this new passwd you set.

The account 'ubuntu' is actually an account for desktop user that you set
during installation and usually has all the administrative
previleges.Butwhenever you do tasks like accessing synaptic or change
system settings ,
you need to enter you password for 'ubuntu' account not the 'root' account.




Incase you forget the root password you have options to get it reset
it.Youcan get those options by checking other forums or just use any
of the two
methods mentioned below

1)first option is simple :use the ubuntu live disk and select the repair
option while in grub
2)second one is without the need of any repair disk. just when grub
appears.press e and then you will get some lines mentioning something like
root (hda0,0) and so on.
select the line strating with the keyword with kernel and add init=/bin/bash
at the end of the line and also replace an option ro to rw in the same line.
press enter and press b to boot
you will directly get a shell prompt bypassing ulogin .so just set the
password by typing passwd

restart the system and you have the root passwd reset for you.

I hope this helps you.


---------------------
Arvind Vanam

Other related posts:

  • » [Ilugc] Re: ilugc Digest, Vol 46, Issue 72 - arvind vanam