Hello! On Mon, Oct 06, 2008 at 05:29:38AM +0800, [EMAIL PROTECTED] wrote: > P.S., What if I forget my password and I cannot login to my machine? > The best I can do is > grub> cat (hd0,1)/etc/passwd > How can I edit it to zero out the :x: field?
You want to boot your kernel with some sort of ``emergency shell'' option, like ``init=/bin/sh'' for the Linux kernel. > Could you supply ed(1) in the commands perhaps? GRUB's file system and disk driver support is read-only. Regards, Thomas
signature.asc
Description: Digital signature
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
