[GRLUG] Coyote Linux Personal Firewall

Michael Mol mikemol at gmail.com
Fri Jan 2 16:30:17 EST 2009


On Fri, Jan 2, 2009 at 3:47 PM, Godwin <godwin at grandrapids-lug.org> wrote:
> On Fri, Jan 2, 2009 at 2:49 PM, Michael Mol <mikemol at gmail.com> wrote:
>> On Fri, Jan 2, 2009 at 2:44 PM, Joshua Burns <jdburnz at gmail.com> wrote:
>>> unfortunately not, it's a pretty straight boot...
>>
>> Then my next approach would be to boot of a live CD, change the root
>> password on the live CD, and copy the encrypted password from the
>> liveCD's /etc/shadow to the machine's /etc/shadow and /etc/shadow- .
>> I've done this a few times, though it might not work if the two
>> distros use a different salt for the password hash. (Though, honestly,
>> I've never encountered that barrier.)
>
>
> Along the lines of booting with live CD, you could mount the partition
> of Coyote linux (say, under /mnt/coyote), change root (# chroot
> /mnt/coyote) to that part and issue the old "passwd" command which
> will allow you to change Coyote Linux's password.  Exit once to go
> back to the live CD and reboot as normal.  I've done that a few times
> and it works fine.

I've always avoided chrooting in that manner; If the shared libraries
on the host system differ in version from the ones on the liveCD, you
might get weird problems.

-- 
:wq


More information about the grlug mailing list