Need to modify user accounts in Linux? This is the command for you
Briefly

Need to modify user accounts in Linux? This is the command for you
"When you create a Linux user with the adduser command, you can include certain details to go along with the new user (such as full name, office and home phone numbers, and other information, which can be used as a description. After you've created the user, the only way to change or add such information is via the usermod command. Say, for instance, you want to add a comment for a user."
"To do that, you would issue the command: sudo usermod -c "INFORMATION" USER Also: 5 surprisingly productive things you can do with the Linux terminal Where INFORMATION is what you want to add, and USER is the user account you want to change. This can be handy if you have two users with the same first name and you want to differentiate them in their user information."
The usermod command modifies Linux user accounts and supports changing user details, usernames, and home directories. Use sudo usermod -c "INFORMATION" USER to add or change the comment/description field created by adduser. Use sudo usermod -l newname oldname to change a login name; this does not rename the user's home directory. Use sudo usermod -d /home/newname -m oldname to move and rename the home directory, ensuring the user is logged out and data is migrated into the new home. Proper ordering and user logout are important to avoid data loss or account issues.
Read at ZDNET
Unable to calculate read time
[
|
]