How to mount another hard disk for sharing with other users in Linux

Sometimes, a drive needs to be shared by more than that primary user logged in on a Linux computer. This is to facilitate sharing of files and folders by other users on that computer. To enable all authorized users to work with files and folders on the shared drive, read on. Any commands need to … Continue reading How to mount another hard disk for sharing with other users in Linux

How to check if user name or ID has been compromised in a data breach

When data breaches occur, there are various kinds of data that get compromised. The most critical data that can get compromised is the user name or ID or the password. All is not lost due to a great service hosted by Troy Hunt. Use https://haveibeenpwned.com/ to check if the User name or user ID appears … Continue reading How to check if user name or ID has been compromised in a data breach

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 … Continue reading How to add user with encrypted home folder in Xubuntu 18.04 LTS or Ubuntu 18.10

How to amend default user name and email before committing code to remote github repository

If you commit the code to a local github repo with the default user name, you will get the message as shown below: $ git commit MumbaiStock.pm -m v1.5 <enter> [master 24fea3] v1.5  Committer: wronguser <wrongemail@wrongdomain.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are … Continue reading How to amend default user name and email before committing code to remote github repository

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 … Continue reading How to change UID & GID in Linux for any user

Not able to mount USB drive in Ubuntu Linux 14.04 after change of UID and GID

After changing the UID and GID (User ID and Group ID numbers), I was not able to mount and USB pen drives or hard drives. This issue can be resolved by entering following commands in a Linux terminal:$ cd /media <enter>$ sudo chown -R user.group user <enter> where user is the user name and the … Continue reading Not able to mount USB drive in Ubuntu Linux 14.04 after change of UID and GID

Add new user with encrypted home folder in Ubuntu

By default, Ubuntu 12.04 does not allow you to add a new user with an encrypted home directory using the GUI user manager. To add a user with encrypted home folder, do following: Start up the terminal on your system $ sudo adduser --encrypt-home username <enter> where username is the user ID of the user … Continue reading Add new user with encrypted home folder in Ubuntu

Fedora 16 and USB drive data files not accessible

Migration to Fedora 16 has one known issue when restoring your backups from a USB hard drive or device. When the files were originally copied in earlier versions of Fedora, they all had the starting UID as 500 and GID as 500. However, Fedora 16 creates the first user with the UID of 1000 and … Continue reading Fedora 16 and USB drive data files not accessible