Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

When you enter the command below in a terminal window:

$ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter>

Device error or resource busy error message appears and the device is not setup.

The reason is that /dev/loop0 is taken by snap.

To overcome the error, change /dev/loop0 to something else like /dev/loop35

Or, if you do not . . . → Read More: Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10

After a long while, upgraded from Xubuntu 16.04 LTS to Xubuntu 18.04 LTS and was in for a surprise. No encrypted home folder. Support for this was dropped as ecryptfs-utils was no more maintained by it’s maintainer.

However, fret not. Encrypted home folders can still be created as below. Make sure you take a backup . . . → Read More: How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10

Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume

Whew… saved by the skin of teeth.

The grub2 bootloader of my computer got corrupt. I was not able to boot into the computer and all was lost. For security reasons, I set up LVM with full disk encryption. Thereafter, each user’s home folder was further encrypted with ecryptfs (the default you get when you . . . → Read More: Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume

How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)

I installed LineageOS 14.1 on an old Motorola G 2nd Generation (2014) android phone, also known as titan. All went well and it worked like a charm.

I wanted to encrypt the internal storage and accordingly, did so from the Settings -> Security option on the phone. It worked well and said the phone was . . . → Read More: How to restore TWRP recovery after encrypting internal storage on LineageOS 14.1 on Motorola G 2014 (titan)

How to mitigate the threat of being a victim of ransom ware

Ransom ware seems to have gotten the better of many ordinary users. However, it is not a threat that has no mitigation measures available to the ordinary user, but is more of following good basic security and hygiene practices, to not fall prey to a ransom ware threat. Do the following:

If you use Linux, . . . → Read More: How to mitigate the threat of being a victim of ransom ware

Cannot connect to OpenWRT router using SSH after OpenWRT firmware upgrade

OpenWRT is a very powerful router firmware. Since I wanted to upgrade the router firmware, I took a backup of the configuration and then did a complete erase of the configuration settings at the time of firmware upgrade. After logging in, and setting up SSH as a means to log in to the router, SSH . . . → Read More: Cannot connect to OpenWRT router using SSH after OpenWRT firmware upgrade

How to extend expiry date of Gnu Privacy Guard Keys (GPG/PGP) keys

When PGP/GPG keys expire, you have option to generate a sub key (if you think your key has been compromised), or you can extend the validity of the current key by extending it’s expiry period. You can extend the key’s expiry period since the keys are not compromised. To continue, Open a terminal window and . . . → Read More: How to extend expiry date of Gnu Privacy Guard Keys (GPG/PGP) keys

How to encrypt swap partition on Ubuntu 14.04 LTS

If you installed Ubuntu 14.04 afresh, and selected home folder encryption, you will also get an encrypted swap partition. However, when the computer boots, you get the following error message: the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present.

Note that you need to have a proper data backup and make sure . . . → Read More: How to encrypt swap partition on Ubuntu 14.04 LTS

How to setup HTTPS for web interface in OpenWRT

By default, you can log in to the OpenWRT firmware installed on your router using http://192.168.1.1. However, if you want to add encryption on that connection, you need to be able to login using https://192.168.1.1. To do that, you need to enable HTTPS support on the router. To do so, open a terminal window on . . . → Read More: How to setup HTTPS for web interface in OpenWRT

How to install telegram pidgin plugin in Ubuntu Linux

Telegram is an application for Android phones just like WhatsApp. The key advantages of Telegram are that it assures users that their data is not used by any 3rd party, users have more control over it, with the ability to send secret messages, self-destruct messages and complete removal if a user exits the service.

If . . . → Read More: How to install telegram pidgin plugin in Ubuntu Linux

August 2019
M T W T F S S
« Jul    
 1234
567891011
12131415161718
19202122232425
262728293031