On Mon, Sep 14, 1998 at 08:30:53AM -0400, Stephen J. Carpenter wrote: > On Mon, Sep 14, 1998 at 02:18:40AM -0600, Kent Andersen wrote: > > I seem to have a problem changed my root password on one of my systems and > > whamo when I later tried to su root my password doesent work... > > went through the normal booting from a floppy but cant seem to mount the > > harddrive so I can edit the passwd file or login as root without pass. any > > ideas? Its kinda like stupid pet tricks night. > > Does it have lilo? can you give it boot parameters? > > if so try this: > > LILO: linux /bin/sh > > This will tell the kernel that init is /bin/sh. > As soon as the kernel is done booting it will run /bin/sh and you will get > a shell. > > issues: > With the real init NOT running you will have to do allot by hand > > hopefully once you zap the root password...it SHOULD be sufficent > to remount the filesystem read-only and issue halt or reboot > remounting read-only does not always work. Just sync your disks and reboot.
-- ______________________________________________________________ | ian eure, network admin, freelance security consultant, and | | manically depressed paranoid schizophrenic, at your service. | ; <[EMAIL PROTECTED]> - http://minion.org ; : raw speed = 105.6 wpm with 4.5% errors : . . . . . . . . . . . . . . . . . . . . . .