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
[-- Attachment #1 --]
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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.3800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi, all:</FONT></DIV>
<DIV><FONT face=Arial>I changed the default shell of root to "bash" from
"sh"</FONT></DIV>
<DIV><FONT face=Arial>with "chsh" this command but I put the wrong
directory</FONT></DIV>
<DIV><FONT face=Arial>path of bash in it. </FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>ex: the directory path of bash should be"
/usr/local/bin/bash</FONT></DIV>
<DIV><FONT face=Arial> while I put it as:
/bin/bash</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Now I can't login as root or su as root. </FONT></DIV>
<DIV><FONT face=Arial>I am new to BSD and </FONT><FONT
face=Arial>pleas</FONT><FONT face=Arial>e help~</FONT></DIV>
<DIV><FONT face=Arial>Thanks a lot!</FONT></DIV>
<DIV><FONT face=Arial>Nelson</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008f01bf5ad4$26c0a830$054f4fc6>
