From owner-freebsd-questions Wed Nov 22 22:58:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id BCF4637B4C5 for ; Wed, 22 Nov 2000 22:58:06 -0800 (PST) Received: by static.unixfreak.org (Postfix, from userid 1000) id 7C9DC1F32; Wed, 22 Nov 2000 22:58:06 -0800 (PST) Subject: Re: help!!!! i forget passwd root and i have ttys close In-Reply-To: <003001c0551f$779e8b00$972e22c8@Lumac> "from Ing. Guillermo R. Martinez Hernandez at Nov 23, 2000 01:31:58 am" To: "Ing. Guillermo R. Martinez Hernandez" Date: Wed, 22 Nov 2000 22:58:06 -0800 (PST) Cc: dima@unixfreak.org, freebsd-questions@freebsd.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001123065806.7C9DC1F32@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ Charset ISO-8859-1 unsupported, converting... ] > Thanks . > > I did this becaue I have to many problems whit craker ( last > Administrator fo my site ) . > in this momen I?m booting whit one floppy, > > but i can not change my passwd, you have other idea ? Boot from a floppy and edit /etc/ttys to remove the 'insecure' flag. > > [ Charset ISO-8859-1 unsupported, converting... ] > > > yes I know, but I can not open my system because in my ttys are one line > > > said > > > > > > # > > > ttyv0 "/usr/libexec/getty Pc" cons25 on insecure > > > > I don't know why you did that, but the basic idea would be to boot > > from a floppy (I believe the fixit disk should work), mount your root > > filesystem, edit the password file unsetting the password, rebuilding > > the password databases, and rebooting. Or, if you don't want to mess > > with the password databases, just edit /etc/ttys. > > > > BTW, when replying, please cc the original recipients; in this case, > > freebsd-questions@freebsd.org. Thanks. > > > > > > > > > [ Charset ISO-8859-1 unsupported, converting... ] > > > > > I forget passwd of root, I access my sistem how admin but i can not > > > > > su login, my ttys is marked insecure all WHAT I DO ?? > > > > > > > > RTFM. More specifically, read > > > > http://www.freebsd.org/FAQ/admin.html#FORGOT-ROOT-PW. > > > > > > > > -- > > > > Dima Dorfman > > > > Finger dima@unixfreak.org for my public PGP key. > > > > > > > > > > > > > > > > -- > > Dima Dorfman > > Finger dima@unixfreak.org for my public PGP key. > > > > "Thus the metric system did not really catch on in the States, unless you > > count the increasing popularity of the nine-millimeter bullet." > > -- Dave Barry > > > > -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. "He who laughs last obviously didn't get the joke." -- Bazooka Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message