Sometimes single user mode asks for a password (at least on a lot of modern
UNIX-likes) - if the above comment doesn't work, try appending
"init=/bin/sh" to the kernel parameters - this skips running init and drops
you in a shell. Just (re)mount the disks R/W and update the password.
2014-06-17 18:36 GMT+01:00 Barry L. Kline <lists at blkline.com>:
On 06/17/2014 01:17 PM, A. P. Garcia wrote:
i don't have the root
password for the linux os that's installed on it,
You can get root easily at startup, though the initial steps vary by
distribution. The key is to interrupt the boot sequence (usually an
<esc> hit will stop it), then select whatever option is displayed for
altering the kernel parameters. Append a 1 (digit one) to the kernel
parameters and then select whichever option allows you to boot. The
system will come up in the single user mode, which is you logged on as
root. Then issue the passwd command to change the root password to
whatever you want.
BK
--
Kind regards,
Yvan Janssens
Sent using CompuServe 1.22