From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 10:16:42 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C08416A41C for ; Thu, 14 Jul 2005 10:16:42 +0000 (GMT) (envelope-from bsdforfree@rambler.ru) Received: from sotelrostov.ru (sotelrostov.ru [213.27.18.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0490443D45 for ; Thu, 14 Jul 2005 10:16:40 +0000 (GMT) (envelope-from bsdforfree@rambler.ru) Received: (qmail 10897 invoked by uid 98); 14 Jul 2005 14:17:29 +0400 Received: from 192.168.0.4 by mail.sotelrostov.ru (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.86.1/977. Clear:RC:1(192.168.0.4):. Processed in 0.137643 secs); 14 Jul 2005 10:17:29 -0000 X-Qmail-Scanner-Mail-From: bsdforfree@rambler.ru via mail.sotelrostov.ru X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.0.4):. Processed in 0.137643 secs) Received: from unknown (HELO ?192.168.0.4?) (192.168.0.4) by sotelrostov.ru with AES256-SHA encrypted SMTP; 14 Jul 2005 14:17:28 +0400 Message-ID: <42D63B7F.8010803@rambler.ru> Date: Thu, 14 Jul 2005 14:16:31 +0400 From: Vyacheslav Sotnikov User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> In-Reply-To: <3447e5c6e159524801b5814e10badc8f@essenz.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 10:16:42 -0000 John Von Essen пишет: > boot single user... > > mount -u / > mount -a > > Then use vipw or passwd to clear out or change root password. If you > shutdown the system un-cleanly, you may have to do an fsck / as > fragmentation will prevent the filesystem from being mounted > read-write-able. > > -john but what to do if i have "console insecure" in /etc/ttys?