Date: Sun, 9 Jan 2000 11:09:59 -0800 From: "Majid Almassari" <majid@ibroadcast.net> To: "Nelson" <shiver@mailandnews.com>, <FreeBSD-questions@FreeBSD.ORG> Subject: Re: messed up with root account. Message-ID: <007f01bf5ad5$2288fc80$1791ddd1@balfourplace.com> References: <008f01bf5ad4$26c0a830$054f4fc6@NELSON>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi there, Boot in a singe user mode. (hit delete before the Kernel loads) then it will ask you what shell you want to use you can either specify the full bath of the shell you are using, i.e., /usr/local/bin/bash or just accept the default which I think is /bin/sh: once you did that you are logged in, correct the problem and reboot hopefully that helps. Majid Almassari, MSEE, MCP. System Administrator. iBroadcast, Inc. (206) 223-5540 http://www.ibroadcast.net ----- Original Message ----- From: Nelson To: FreeBSD-questions@FreeBSD.ORG Sent: Sunday, January 09, 2000 11:03 AM Subject: messed up with root account. 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=windows-1252" http-equiv=Content-Type> <META content="MSHTML 5.00.2722.1300" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi there, </FONT></DIV> <DIV><FONT face=Arial size=2>Boot in a singe user mode. (hit delete before the Kernel loads) then it will ask you what shell you want to use you can either specify the full bath of the shell you are using, i.e., /usr/local/bin/bash or just accept the default which I think is /bin/sh: once you did that you are logged in, correct the problem and reboot hopefully that helps.</FONT></DIV> <DIV> </DIV> <DIV>Majid Almassari, MSEE, MCP.<BR>System Administrator.<BR>iBroadcast, Inc.<BR>(206) 223-5540<BR><A href="http://www.ibroadcast.net">http://www.ibroadcast.net</A></DIV> <BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A href="mailto:shiver@mailandnews.com" title=shiver@mailandnews.com>Nelson</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:FreeBSD-questions@FreeBSD.ORG" title=FreeBSD-questions@FreeBSD.ORG>FreeBSD-questions@FreeBSD.ORG</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, January 09, 2000 11:03 AM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> messed up with root account.</DIV> <DIV><BR></DIV> <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></BLOCKQUOTE></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007f01bf5ad5$2288fc80$1791ddd1>
