From owner-freebsd-questions Sun Dec 21 13:24:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA28309 for questions-outgoing; Sun, 21 Dec 1997 13:24:45 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from alpha.netvision.net.il (root@alpha.NetVision.net.il [194.90.1.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA28304 for ; Sun, 21 Dec 1997 13:24:40 -0800 (PST) (envelope-from juddm@netvision.net.il) Received: from pc_dev.israeline.co.il ([192.114.146.231] (may be forged)) by alpha.netvision.net.il (8.8.6/8.8.6) with SMTP id XAA20245 for ; Sun, 21 Dec 1997 23:35:02 +0200 (IST) Date: Sun, 21 Dec 1997 23:35:02 +0200 (IST) Message-Id: <199712212135.XAA20245@alpha.netvision.net.il> From: Judd Maltin To: freebsd-questions@FreeBSD.ORG Subject: root shell Permission Denied :( MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.23 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Friends since February may remember the following message, but I, in my unending stupidity and Unix newbieness and carelessness, DO NOT HAVE A FIXIT DISK, NOR AN ACCOUNT TO su FROM. This is the inspiring telnet session for you all. FreeBSD (banana.israeline.co.il) (ttyp0) login: judd Password: Last login: Sun Dec 21 22:21:02 from 192.114.146.231 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-RELEASE (GENERIC) #0: Tue Oct 21 14:33:00 GMT 1997 Welcome to FreeBSD! If the info distribution has been loaded on this machine, the FreeBSD Handbook will be in file:/usr/share/doc/handbook and the FAQ in file:/usr/share/doc/FAQ Type /stand/sysinstall to re-enter the installation and configuration utility. You have mail. login: /bin/csh: Permission denied Woe is me. I tried the following.. but it doesn't address my problem. Any takers? Or should I wait until my FreeBSD CDROM arrives (which might be in the next century, knowing Israeli mail) and do a full net install? Date: Fri, 28 Feb 1997 21:33:00 -0800 From: "Jordan K. Hubbard" To: Ravi Pina Sender: owner-questions@freebsd.org Subject: Re: Invalid Shell Lockout > Well, I seemt o have supplied an invalid shell for root, so when I want > to su over it gives me a Permission denied! I appear to be completely boot with the -s flag to come up single-user, remount the / partition read/write (mount -u /), mount /usr (so you have the passwd command) and then change the root password. > locked out of the system as a result... any idea what I can do to > overcome this problem? It owuld be nice if it just fell back to /bin/sh > or something so you can login even if you're a dork like me. Or if anyone were intent on attacking your machine and looking for a really easy way to do it, yes, this would definitely help them. :-) Jordan