Date: Wed, 26 Sep 2012 21:14:56 -0400 From: Brian Seklecki <bseklecki@probikesllc.com> To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: bad root shell in /etc/passwd Message-ID: <5063A890.5070507@probikesllc.com> In-Reply-To: <5063A68A.8090107@dreamchaser.org> References: <5063A68A.8090107@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> 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 <bseklecki@probikesllc.com> CE-Pro Bikes, LLC 412-378-3823 (m) PGP Key Available Upon Request
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5063A890.5070507>