Date: Sun, 09 Jan 2000 14:09:58 -0500 From: Laurence Berland <stuyman@confusion.net> To: Nelson <shiver@mailandnews.com> Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: messed up with root account. Message-ID: <3878DD06.8DD09098@confusion.net> References: <008f01bf5ad4$26c0a830$054f4fc6@NELSON>
next in thread | previous in thread | raw e-mail | index | archive | help
You can either reboot into single mode, where it will ask you which
shell to use explicitly, or log in as a normal user and su -m to root.
After you do one of those, chsh the shell back to what it should be.
> Nelson wrote:
>
> Hi, all:
> I changed the default shell of root to "bash" from "sh"
> with "chsh" this command but I put the wrong directory
> path of bash in it.
>
> ex: the directory path of bash should be" /usr/local/bin/bash
> while I put it as: /bin/bash
>
> Now I can't login as root or su as root.
> I am new to BSD and please help~
> Thanks a lot!
> Nelson
--
Laurence Berland, Stuyvesant HS Debate
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Windows 98: n.
useless extension to a minor patch release for
32-bit extensions and a graphical shell for a
16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor,
written by a 2-bit company that can't stand for
1 bit of competition.
http://stuy.debate.net
icq #7434346 aol imer E1101
The above email Copyright (C) 1999 Laurence Berland
All rights reserved
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?3878DD06.8DD09098>
