Date: Tue, 3 Oct 2000 17:17:16 -0700 (PDT) From: Loren Koss <loren@pciway.com> To: Sleepless in Brisbane <snowy@snowy.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: I deleted my shell by mistake!! Message-ID: <Pine.BSF.4.21.0010031716020.35678-100000@unix.pciway.com> In-Reply-To: <Pine.BSF.4.21.0010041006270.80854-100000@snowy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thats the problem.. I don't.. I have my regular user shell still open.. I can't SU to root anymore.. I think i've learned my lesson about changing roots shell!! Any other suggestions?? Is it gonna be a problem even when I go to the console? How about rebooting into single user mode? Am I totally F*cked??? On Wed, 4 Oct 2000, Sleepless in Brisbane wrote: > On Tue, 3 Oct 2000, Loren Koss wrote: > > > So, I have a current connection that works, but now all new connections > > are getting declined because somehow (i think it was when i re-cvsuped by > > source) my /usr/local/bin/tcsh is gone.. so.. now i cant connect because > > it says the file is gone.. The real stinker is that i made the root shell > > TCSH as well.. Please tell me there is something I can do.. like somehow > > executing a command like VI to edit the passwd file and change the shell > > of this user and root.. Please tell me I aint screwed!!! > > As long as you have a root shell still open; you can use the command 'vipw' to > change your /etc/passwd file. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010031716020.35678-100000>