root problems!

Bryce C plug-discuss@lists.plug.phoenix.az.us
27 Sep 2002 06:41:27 -0700


--=-dvS7iadiVKwHzmMIgCBA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

You might want to try booting in to linux sinle mode.  If using LILO,
type linux(or whatever you've called it single.  For GRUB, edit the boot
entry and append single to the end of the kernel string.  This will
force you into root where you can hopefully change the password and/or
permissions.
Good luck.

On Fri, 2002-09-27 at 06:15, Alan Dayley wrote:
> I am about to display by bad admin skills for all to see.  I need help.
>=20
> I attempted to run the send-keys (recv-keys) script to put my key on the=20
> servers.  I got the error "bash: ./send-keys: /bin/sh: bad interpreter:=20
> Permission denied"  OK, /bin/sh exists but I must not have permission to =
use=20
> the "sh" shell.  I went to su as root and did "chmod 666 /bin/sh" and the=
n=20
> "exit".  The send-keys command gave me the same error.
>=20
> Then, I attempted to su to root again and got this: "su: cannot run /bin/=
bash:=20
> Permission denied"  I cannot su to root anymore!  That chmod command I di=
d to=20
> /bin/sh messed up root and bash!  Now how do I fix it when I cannot log i=
n as=20
> root!  Are we talking emergency boot disk or something here?  I don't kno=
w=20
> what to do from here to get my access to root back.
>=20
> Slap my hands if you want but tell me how to get my root access back!
>=20
> Alan
>=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>=20
--=20
Bryce Chidester
Network Administrator
CoBryce Communications
Bryce AT BryceCo DOT Net
http://www.bryceco.net

--=-dvS7iadiVKwHzmMIgCBA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9lGAH/wbq/C6yyPcRAjFVAKCbCMU95oi00XYk3BCFl1dWL8h5XACeK2vL
xTziC/iXliz2LuwXsrDbkUI=
=5CCj
-----END PGP SIGNATURE-----

--=-dvS7iadiVKwHzmMIgCBA--