Date: Sun, 7 Dec 2008 05:07:48 -0500 From: "Glen Barber" <glen.j.barber@gmail.com> To: "Redd Vinylene" <reddvinylene@gmail.com> Cc: questions@freebsd.org Subject: Re: Locked myself out.. AGAIN!! Message-ID: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> In-Reply-To: <f1019d520812070204u752a410bw5812dcc3fac04160@mail.gmail.com> References: <f1019d520812070204u752a410bw5812dcc3fac04160@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 7, 2008 at 5:04 AM, Redd Vinylene <reddvinylene@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310812070207k2136ea12p9bd6c9be2c0afd0f>