[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Freedombox-discuss] Cannot ssh into the box any more



On 05/18/2016 06:16 PM, juh wrote:
[...]
>> If you have Plinth account from before the problem came up, you should
>> be able to login into Plinth.  Then add an SSH key to an account (or
>> create one) and use that to login.  Then downgrade libpam-abl.
> 
> All my users need to sudo, so this won't work. :-(
> 

Last resort is to pull out the SD card (or Qemu/VirtualBox image) and
work on it:

mount /dev/sdX2 /mnt

cp /usr/bin/qemu-arm-static /mnt/usr/bin
(if FBX is on foreign architecture)

mount -o bind /proc /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /sys /mnt/sys

chroot /mnt

apt-get remove libpam-abl
(will remove freedombox-setup also)
(or simply downgrade)

exit

umount /mnt/proc
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/sys
umount /mnt

-- 
Sunil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20160518/c5b2645f/attachment.sig>


Reply to: