Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Nov 1997 20:47:05 -0800
From:      Julian Elischer <julian@whistle.com>
To:        Randy Katz <randyk@ccsales.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: HELP!!!
Message-ID:  <34654049.15FB7483@whistle.com>
References:  <Pine.BSF.3.91.971108200806.1375A-100000@ccsales.ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randy Katz wrote:
> 
> Someone did something and no user can log in. It gives the message
> login: /bin/sh Permission Denied.
> 
> Is there anything, simple, they could have done?
> 
> HELP!!!
> 
> Thanx,
> Randy Katz

reboot..

it that on it's own doesn't fix it.....
reboot (again,) at the boot prompt:

Boot:  -s

when it asks you for a shell to run, use /bin/sh
if that fails, try /stand/sh
then /bin/csh (but that may require sahred libs.)
failing that,
boot of the original boot floppy
select 'fixit disk' from the menu.
put in the fixit floppy (you DO have one don't you?)
and hit CR
it will put you  in a shell.
fsck your hard disk partitions (use the rsd and rwd entries, 
not sd and wd

mount them
fix the damage.

sync sync
unmount the hard disk again
exit the shell (type 'exit')
reboot
remove the floppy!


julian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34654049.15FB7483>