Console Access in Linux without Root

If you forget the root password but need to login try this:

CTRL-ALT-DEL or other method to get to LILO:

linux init=/bin/bash

# mount -o remount,rw /

# passwd root

[make changes]

# mount -o remount,ro /

[hit reset button and login as root with new password]


Comments are closed.

%d bloggers like this: