From owner-freebsd-questions Sat Nov 8 20:50:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA13731 for questions-outgoing; Sat, 8 Nov 1997 20:50:27 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA13723 for ; Sat, 8 Nov 1997 20:50:24 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id UAA07596; Sat, 8 Nov 1997 20:49:03 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd007593; Sat Nov 8 20:48:55 1997 Message-ID: <34654049.15FB7483@whistle.com> Date: Sat, 08 Nov 1997 20:47:05 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Randy Katz CC: questions@FreeBSD.ORG Subject: Re: HELP!!! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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