From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 09:15:43 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 DA56716A46D for ; Sat, 7 Jul 2007 09:15:43 +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 8FDDF13C48A for ; Sat, 7 Jul 2007 09:15:43 +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 1I76OD-0007Gn-Mz for freebsd-questions@freebsd.org; Sat, 07 Jul 2007 11:15:41 +0200 MIME-Version: 1.0 Date: Sat, 7 Jul 2007 11:15:41 +0200 From: Zbigniew Szalbot To: Freebsd questions In-Reply-To: <661da47eebc86c4118f855e4bf13eb10@szalbot.homedns.org> References: <661da47eebc86c4118f855e4bf13eb10@szalbot.homedns.org> 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 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 09:15:44 -0000 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