From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 10:07:51 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 B45B91065670 for ; Sun, 7 Dec 2008 10:07:51 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id BBC588FC17 for ; Sun, 7 Dec 2008 10:07:49 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1052059fkk.11 for ; Sun, 07 Dec 2008 02:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x40FWb2+qV6ZGTi9ni9IIb8DPXEb+IduU+LfUGOO4Xs=; b=SgVz3t1132U6EtLxCVjcTbZq5iIiY9U+LgcJ+UMATvaOH1H0S3Ays3pbg4nZ9g4lo4 BAclfifpRpad55hueLmrcbWNwvKvqLHMsiFg0A5FAMZYT/CRoPVevlSFfrslgFEAAmcm 5tlLp6eWT1I1T2R5ThMtBluM/IpjMwakqTPR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uxRyj9hBLHvqMxPRsR1g41RIMkXPRjFCNMsk9HNeJkOIYp8b71JZOqG/D4CevrbENY Q4JOmurDaR8E1DxbU//XvjzhdZHxOu25wV5sAFKSJjZyabkYhPFkTod+p6afLi/Jra+a keCQWimx1gMEvQzdOiYmHbJTBJqOhWzyNwGbA= Received: by 10.102.219.8 with SMTP id r8mr782236mug.10.1228644468187; Sun, 07 Dec 2008 02:07:48 -0800 (PST) Received: by 10.103.169.16 with HTTP; Sun, 7 Dec 2008 02:07:48 -0800 (PST) Message-ID: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> Date: Sun, 7 Dec 2008 05:07:48 -0500 From: "Glen Barber" To: "Redd Vinylene" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 10:07:51 -0000 On Sun, Dec 7, 2008 at 5:04 AM, 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. > This is why you shouldn't edit password files directly. > 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? > Do you have sudo installed? If not, your only other option is to boot into single user mode. But that won't help if you're not at the console. -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams