[NTLUG:Discuss] Paaswd
Kelledin
kelledin+NTLUG at skarpsey.dyndns.org
Thu Oct 24 23:44:04 CDT 2002
On Thursday 24 October 2002 11:08 pm, aw wrote:
> Hi
> How can we bypass the password immediately after the linux box
> start like
>
> linux boot
> Password :
>
> Have any body idea about that ?
>
> Aamir
Sounds like you're talking about the bootloader password.
The most practical way to bypass that password is to boot from a
different medium (like a rescue disk).
For the login password (the one that usually comes from
/etc/passwd or /etc/shadow), the easiest way to bypass that is
to boot with the kernel argument "init=/bin/sh", which causes
the kernel to start the system shell instead of /sbin/init.
Then you can muck around with the system using the standard
system shell (usually bash). Of course, if there's a bootloader
password, you probably can't actually use this trick unless
you've bypassed the bootloader password.
--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
More information about the Discuss
mailing list