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

August 2017
M T W T F S S
« Jul    
 123456
78910111213
14151617181920
21222324252627
28293031