[1205] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Help: Lost *BASH* & *util-linux* - & cant login at all!!

daemon@ATHENA.MIT.EDU (BORG)
Sun Oct 27 01:13:28 1996

Date: Sat, 26 Oct 1996 22:04:17 -0700
From: BORG <vladimip@iceonline.com>
To: psci@teleport.com
CC: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

PSCI wrote:
> 
> Due to inadvertently removing (uninstalling) bash & util-linux by
> someone who shouldnt have had 'root', we can no longer login to the
> shell (it returns imm. to login aft. p/w). We are using RH 3.0.3 updated
> to kernel 2.0.0. Is there a way to "restore" bash and util-linux short
> of reinstalling and losing all?? Anxiously awaiting help !  

Yup. Boot it from the 3.0.3 CD-ROM, but instead of proceeding
with install, just when it starts asking your questions,
flip to another VC, mouint your partition where your / is
normally supposed to be, under /mnt/mydrive, edit 
/mnt/mydrive/etc/passwd to reflect another
shell (you don't have bash only do you?), and reboot. If bash
is the only shell installed on your system, then do:

rpm -ihv --root /mnt/mydrive bash-1.14.whatever.rpm

That's the way I recovered /libc just two
weeks ago after hosing them.  :)

-- 
*** #include <disclaimer.h> ***** Good pings come in small packets
******** Vlad Petersen ********** ********************************
*** <vladimip@iceonline.com> **** **** Linux: OS I can trust *****
******** Vancouver, B.C. ******** ********************************


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post