Category Archives: Uncategorized

Securely delete files/folders in Ubuntu

In brief, you should NEVER trust your HDD before handing it over to someone else! The solution to this would be either wipe the whole HDD or at least wipe the files/folders that you need to keep out of reach. … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , , , , | Leave a comment

Add an additional physical volume to your encrypted LVM volume group

With a default Linux Mint installation, do the following after connecting the new hard disk to your computer, we will assume the new HDD is /dev/sda: sudo pvcreate /dev/sda sudo vgextend mint-vg /dev/sda sudo lvextend -l +100%FREE /dev/mint-vg/root sudo cryptsetup … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | Leave a comment

How to convert your SSL certificates to be used by Tomcat instead of Apache

I have a wildcard certificate that needs to be used on multiple websites that my employer owns. To be able to use that SSL certificate on Tomcat, it has to be used in a totally different format, that’s Java-specific. That … Continue reading

Posted in Linux, Uncategorized | Tagged , , , , | Leave a comment

How to share files with Samba (SMB) from Ubuntu and mount on Windows

I am using a Windows 7 VM under KVM/QEMU, and there is no direct way – as far as I know – to make a shared drive between the host and guest, like the vboxsf that exists on VirtualBox hypervisor. … Continue reading

Posted in Linux, Uncategorized | Tagged , , , | 2 Comments

How to reset lost password on Ubuntu

From the official Ubuntu LostPassword documentation (with minor changes to work on more recent versions of Ubuntu) Reboot your computer. Hold Shift during boot to start GRUB menu. Press e to edit. Find the line starting with “linux” and change “ro” … Continue reading

Posted in Linux, Uncategorized | Tagged , , | Leave a comment