[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Whoops



>-Richard Harran <95rmwh@eng.cam.ac.uk>
>
> I did something really stupid:
> 	#mv /usr/bash <somewhere_else>
> (don't ask).  Then I exited root, and (of course) I can't log in as root
> to fix it.  I'm still logged in as a normal user, but anything using a
> script with /bin/bash or /bin/sh doesn't work. 
> Does anyone have any ideas on how to fix this.  

Try:

su --shell=<somewhere_else>/bash

or, if you have shut it down:

linux -b sushell=<somewhere_else>/bash

at the LILO prompt.

-- 
MS-DOS: Micro$oft Denial Of Service. The most popular denial of
service attack. It is commonly disguised as an operating system.
The easiest fix is to install a freenix.


Reply to: