From owner-freebsd-questions@FreeBSD.ORG Thu Sep 27 01:20:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA11C1065670 for ; Thu, 27 Sep 2012 01:20:01 +0000 (UTC) (envelope-from bseklecki@probikesllc.com) Received: from mail1.g3.pair.com (mail1.g3.pair.com [66.39.3.114]) by mx1.freebsd.org (Postfix) with ESMTP id 9E87C8FC27 for ; Thu, 27 Sep 2012 01:20:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail1.g3.pair.com (Postfix) with SMTP id 47A8D33E6D; Wed, 26 Sep 2012 21:15:24 -0400 (EDT) Received: from [192.168.55.102] (c-67-165-95-233.hsd1.pa.comcast.net [67.165.95.233]) by mail1.g3.pair.com (Postfix) with ESMTPSA id E016733D23; Wed, 26 Sep 2012 21:15:23 -0400 (EDT) Message-ID: <5063A890.5070507@probikesllc.com> Date: Wed, 26 Sep 2012 21:14:56 -0400 From: Brian Seklecki Organization: CE-Pro Bikes User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd@dreamchaser.org References: <5063A68A.8090107@dreamchaser.org> In-Reply-To: <5063A68A.8090107@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: bad root shell in /etc/passwd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: seklecki@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2012 01:20:01 -0000 >>> On 9/26/2012 9:06 PM, Gary Aitken wrote: Probably not. Just boot a livecd that supports your HBA and FS, mount your Root FS, and: # vipwd -d /mnt/rootfs or mount /usr as well and: # chroot /mnt/rootfs usermod -s /usr/local/bin/bash root > guidance? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Brian A. Seklecki CE-Pro Bikes, LLC 412-378-3823 (m) PGP Key Available Upon Request