you are lucky.. most OS's would require booting off an install disk..
linux can be hacked from console tho.. tho you have to reboot
at the lilo prompt:
LILO boot: linux 1
that should bring you up in single user mode.. if it asks for a password,
you are going to have to reboot and edit /etc/shadow manualy
LILO boot: linux init=/bin/bash rw
when booted to # prompt, you can vi /etc/shadow, remove the root password,
save then
mount -o remout,ro /
then halt the box.
Thank You,
Ben Kochie (ben at nerp.net)
*-----------------------* [ - * - * - * - * - * - * - * - ]
| Unix/Linux Consulting | [ Haiku Error Message: ]
| PC/Mac Repair | [ Chaos reigns within. ]
| Networking | [ Reflect, repent, and reboot. ]
| http://nerp.net | [ Order shall return. ]
*-----------------------* [ - * - * - * - * - * - * - * - ]
"Unix is user friendly, Its just picky about its friends."
On Wed, 22 Nov 2000, Rodney Ray wrote:
> I have a friend that forgot his root password on rh 6.2 box. can someone tell me how to get back into the box under root
>
> Thanks
>
> _______________________________________________
> tclug-list mailing list
> tclug-list at lists.real-time.com
> https://mailman.real-time.com/mailman/listinfo/tclug-list
>