[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian login



You can delete the root password in the following way.

Boot from the first debian CD;
Just after the boot Press CTRL ALT F2 and then enter
to have the command line. make a new empty directory
"mkdir qwerty" mount your linux partion into this
directory "mount "/dev/hda1 qwerty" (you may have
to replace /dev/hda1 by the actual linux partition;
you can use fdisk to see these). Edit the file
qwerty/etc/shadow (with nano) find the line which
begin with
root and delete what is between the first and the
second
semi-colon (:) so this line begin with "root::  <rest
of
the line>". then "cd /"; "umount qwert"; reboot the
system. You can now log in as root without password
and add a new one with passwd. 

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com



Reply to: