Generate OTP keys in linux – Extracting FreeOTP keys

apt install oathtool oathtool –totp -b -d 6 KY3OUPMUYWCKS53F Linux: TOTP Password Generator https://github.com/philipsharp/FreeOTPDecoder Enable USB debugging – https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm Backup the FreeOTP app – adb backup -f ~/freeotp.ab -noapk org.fedorahosted.freeotp Decompress the backup – dd if=freeotp.ab bs=1 skip=24 | python -c “import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))” | tar -xvf – Decode the keys – https://github.com/philipsharp/FreeOTPDecoder

Read More »

Openstack – Manually edit VM

Find the host the VM is running on and the instance ID(Use console view to get instance ID) cp /etc/libvirt/qemu/instance-0000030a.xml . edit instance-0000030a.xml to be what you need it to be While the VM is running (Warning, will crash the VM) virsh destroy instance-0000030a virsh undefine instance-0000030a virsh define instance-0000030a.xml virsh start instance-0000030a

Read More »

Ceph scrubbing performance

Original article here – http://sudomakeinstall.com/linux-systems/ceph-scrubbing Ceph’s default IO priority and class for behind the scene disk operations should be considered required vs best efforts. For those of us who actually utilize our storage for services that require performance will quickly find that deep scrub grinds even the most powerful systems to a halt. Below are […]

Read More »