[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: too many commands, "help" output rolls of screen
From: |
Thomas Schwinge |
Subject: |
Re: too many commands, "help" output rolls of screen |
Date: |
Tue, 7 Oct 2008 11:56:52 +0200 |
User-agent: |
Mutt/1.5.11 |
Hello!
On Mon, Oct 06, 2008 at 05:29:38AM +0800, address@hidden 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