From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 10:09:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D80C16A468 for ; Sat, 7 Jul 2007 10:09:57 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from szalbot.homedns.org (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 448C513C459 for ; Sat, 7 Jul 2007 10:09:56 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from localhost ([127.0.0.1] helo=szalbot.homedns.org) by szalbot.homedns.org with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I77Eg-0000JZ-A9; Sat, 07 Jul 2007 12:09:54 +0200 MIME-Version: 1.0 Date: Sat, 7 Jul 2007 12:09:53 +0200 From: Zbigniew Szalbot To: Yuri Pankov In-Reply-To: <20070707092630.GA1027@darklight.org.ru> References: <20070707092630.GA1027@darklight.org.ru> Message-ID: X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: Freebsd questions Subject: Re: adding password for root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 10:09:57 -0000 On Sat, 7 Jul 2007 13:26:30 +0400, Yuri Pankov wrote: > On Sat, Jul 07, 2007 at 11:15:41AM +0200, Zbigniew Szalbot wrote: >> Hello, >> >> On Sat, 7 Jul 2007 10:48:52 +0200, Zbigniew Szalbot >> wrote: >> > Hello, >> > >> > Not sure how it came about but I just realized that my for new FBSD >> > installation root user is without a password. When I log in remotely > and >> > want to use chpass to add a password for user root I am presented with > vi >> > editor in which I guess I could theoretically insert it. But this > process >> > was always interactive. How should I add a password for user root > (remote >> > login as root is disabled). Do I need to access that box physically > and >> > type it on the console or can I set it remotely? >> >> Stupid me. Instead of waiting for your advice I went ahead and entered a >> password in the vi editor, then saved. Unfortunately, this password is > not >> accepted when I su. Is there any hope for me other than reinstallting > the >> whole system? >> >> Thank you! >> >> -- Zbigniew Szalbot