Re: [Full-disclosure] Root password change



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yo Kerry!

On Fri, 31 Mar 2006, Kerry Thompson wrote:

Most *nix systems these days require you to enter the root password before
giving you a shell in single user mode.

Trivial to defeat. Just boot in to single user mode with these kernel
options:
single init=/bin/bash

The nothing runs off the root partition execpt a nice bash shell for you.

RGDS
GARY
- ---------------------------------------------------------------------------
Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701
gem@xxxxxxxxxx Tel:+1(541)382-8588

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFELJIR8KZibdeR3qURAmXpAKDFcFOwsZnVA0U85kxYw4aaddLbowCglg++
PhNU9qTtH2pKR/qlljirKig=
=OpFG
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/



Relevant Pages

  • Re: Lost video suddently during boot up - FC5
    ... In case single user mode is necessary, ... GRUB to boot into single-user Linux mode. ... You can now edit files or change the root password. ... How can I use the resue cd to boot into shell so that I can edit the ...
    (Fedora)
  • Re: bash by default for root user
    ... is screwed up because a library patch went bad, fstab is messed up, etc. ... systems to boot *to* single user mode so I'm spawning a shell", ... Hence the static shell in the root file system. ...
    (comp.sys.hp.hpux)
  • Re: Newbieish Desktop Questions
    ... >into single user mode under FreeBSD's default slicing scheme root wont ... >have a shell as /usr isn't mounted. ... As for vital scripts failing, ...
    (freebsd-questions)
  • Re: bash - superuser
    ... > Using a shell not contained in the root filesystem can cause problems ... > even when not in single user mode. ... Rasputin:: Jack of All Trades - Master of Nuns ...
    (freebsd-questions)
  • Re: "No Shell"
    ... > changed the value to a shell that does exist. ... What shell are you using in single user mode? ... Try creating a completely new passwd entry for root. ...
    (comp.unix.admin)