From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 11:49:01 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82B741065670 for ; Sun, 7 Dec 2008 11:49:01 +0000 (UTC) (envelope-from joost@jodocus.org) Received: from viefep18-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id D8EA08FC13 for ; Sun, 7 Dec 2008 11:49:00 +0000 (UTC) (envelope-from joost@jodocus.org) Received: from edge05.upc.biz ([192.168.13.212]) by viefep15-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081207113258.INLP29018.viefep15-int.chello.at@edge05.upc.biz>; Sun, 7 Dec 2008 12:32:58 +0100 Received: from bps.jodocus.org ([62.194.47.110]) by edge05.upc.biz with edge id oBYw1a02S2NeSae05BYxjo; Sun, 07 Dec 2008 12:32:58 +0100 X-SourceIP: 62.194.47.110 Received: from jodocus.org (localhost [IPv6:::1]) by bps.jodocus.org (8.14.2/8.14.2) with ESMTP id mB7BWuA3079747; Sun, 7 Dec 2008 12:32:56 +0100 (CET) (envelope-from joost@jodocus.org) Received: from 192.168.100.227 (SquirrelMail authenticated user joost) by jodocus.org with HTTP; Sun, 7 Dec 2008 12:32:56 +0100 (CET) Message-ID: <1567.192.168.100.227.1228649576.squirrel@jodocus.org> In-Reply-To: References: Date: Sun, 7 Dec 2008 12:32:56 +0100 (CET) From: "Joost Bekkers" To: "Redd Vinylene" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (bps.jodocus.org [IPv6:::1]); Sun, 07 Dec 2008 12:32:56 +0100 (CET) X-Virus-Scanned: ClamAV 0.94/8730/Sun Dec 7 07:03:03 2008 on bps.jodocus.org X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: Locked myself out.. AGAIN!! 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: Sun, 07 Dec 2008 11:49:01 -0000 On Sun, December 7, 2008 11:04, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed on Sundays. Is there any > way I can fix this on my own? > Try `su -m` the man page says it will use your current shell instead of the one in passwd. good luck. Joost.