Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 13:03:01 -0600
From:      "Nelson" <shiver@mailandnews.com>
To:        <FreeBSD-questions@FreeBSD.ORG>
Subject:   messed up with root account.
Message-ID:  <008f01bf5ad4$26c0a830$054f4fc6@NELSON>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_008C_01BF5AA1.DBBFD540
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

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.=20

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.=20
I am new to BSD and please help~
Thanks a lot!
Nelson

------=_NextPart_000_008C_01BF5AA1.DBBFD540
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.3800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial>Hi, all:</FONT></DIV>
<DIV><FONT face=3DArial>I changed the default shell of root to "bash" =
from=20
"sh"</FONT></DIV>
<DIV><FONT face=3DArial>with "chsh" this command but I put the wrong=20
directory</FONT></DIV>
<DIV><FONT face=3DArial>path of bash in it. </FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>ex: the directory path of bash should be"=20
/usr/local/bin/bash</FONT></DIV>
<DIV><FONT face=3DArial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while I put it as: =

/bin/bash</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>Now I can't login as root or su as root. =
</FONT></DIV>
<DIV><FONT face=3DArial>I am new to BSD and </FONT><FONT=20
face=3DArial>pleas</FONT><FONT face=3DArial>e help~</FONT></DIV>
<DIV><FONT face=3DArial>Thanks a lot!</FONT></DIV>
<DIV><FONT face=3DArial>Nelson</FONT></DIV></BODY></HTML>

------=_NextPart_000_008C_01BF5AA1.DBBFD540--



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?008f01bf5ad4$26c0a830$054f4fc6>