Core Coding®

Rename linux user

  Rename linux user
Easy commands to rename a user, including home directory
usermod -m -d /home/newUserName -l newUserName oldUserName
groupmod --new-name newUserName oldUserName
chfn -f "First Last" newUserName

Go back to resources
Home Mail GitHub