Date: Sun, 21 Dec 1997 23:35:02 +0200 (IST) From: Judd Maltin <juddm@netvision.net.il> To: freebsd-questions@FreeBSD.ORG Subject: root shell Permission Denied :( Message-ID: <199712212135.XAA20245@alpha.netvision.net.il>
next in thread | raw e-mail | index | archive | help
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" <jkh@time.cdrom.com>
To: Ravi Pina <falcon@gersh.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712212135.XAA20245>
