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

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

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 change UID & GID in Linux for any user

As the commands entered below have the potential to cause inaccessibility to files or data, make sure you have taken a data back up first. Once you have backed up your data, proceed as follows. Do not proceed further if you are not confident or aware of what you are doing. Proceed as below at . . . → Read More: How to change UID & GID in Linux for any user

How to add user to sudoers or the adm group on Ubuntu Linux

Use the following command in a terminal window to modify a user’s rights on Linux to make them a member of the adm group $ sudo usermod -a -G sudo,adm username <enter>

where username is the name of the user who you want to make a sudoer.

How to enable and disable root user in Ubuntu 14.04 LTS

If you ever need to enable the root user in Ubuntu 14.04 LTS linux installation, you can do so as follows: Open a terminal window and type the following commands: $ sudo su -c <enter> # passwd root <enter>

Enter a strong password and restart the computer.

To make sure that you can login as . . . → Read More: How to enable and disable root user in Ubuntu 14.04 LTS

November 2018
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
2627282930