How to modify user's (home directory/files etc.)
Adding information to any user account can be done via usermod command.
Adding info to user account
# usermod -c “This is my personalized account” devops
Change user home directory
# usermod -d /var/www/ devops
This will change user home directory from /home/devops to /var/www
Expiry of an user account
# usermod -e 2020-12-12 devops
This will change the account expiry date of user devops.