On 11/1/06, George John georgejohn_in@yahoo.com wrote:
Hello all,
I forgot my root password in debian. how do i get into the single user mode and change my root password. pl. advise...
: cydork: i forgot root's password : dpkg: 1) 'linux init=/bin/sh' at a lilo boot prompt (hold Shift while booting to make one appear), 2) 'fsck' your root file system, 3) 'mount -o remount,rw /', 4) 'passwd root' 5) 'mount -o remount,ro /' 6) reboot -d -f (exec /sbin/init should work); For GRUB (e.g. sarge): in step 1, press 'e' to edit the kernel setting (add init=/bin/sh to the end of it), 'b' to boot. Steps 2-6 are the same.
this is from irc.. call me lazy :)