Geeezzz ... did you forgot your root password from your linux box?, well perhaps is not the end of the world if you do have physicall access to your box, you can start it on single user mode and reset it. Dont know how? ... then read this article.
In all honesty, this fix really depends on what os loader your box is running on. Normally on modern linux distros like entreprise 4 , the loader will be GRUB. in this case, how to load Grub into single user mode? : Restart your box, and when the GRUB splash screen appears follow these steps:
Once you have shell access, you will probably need to chroot to your system using the command: chroot /mnt/sysimage From this point on you probably can use the passwd command to change the root password. In you are using the LILO boot loader, when you see the LILO promt, type: linux single When you reach the # prompt, type: passwd root Once you reset the password you can then reboot and boot your box normally. IF LILO is not set to wait at the boot menu, you can halt the boot process by pressing any key in the split second before lilo tries to boot the kernel. By the way, in case you want to change the lilo timeout value, you can do it from: /etc/lilo.conf ( 0 means no wait ) Cheers Felipe |