[Ilugc] setting root password

  • From: praveen@xxxxxxxxxxx (Praveen)
  • Date: Tue Jul 20 19:42:39 2004

Parthan S R wrote:

hello friends,
when my frined installed mandrake10 in my pc, he forgot to give hte root 
password during the installation password, so i am not able to access 
the root "\" directory at all, its locked, is there any way of setting a 
root password now, i am new to linux so plz give me a detaied procedure 
to follow , if theres any way out, THQ.

Add "init=/bin/bash" to the command line of the boot loader (LILO or 
GRUB). You will be dropped into bash (shell). Type 'passwd'. It will 
prompt for the new password. Enter a password and remember it ;-)

Other related posts: