Skip to content

Instantly share code, notes, and snippets.

@mainameiz
Created October 27, 2015 20:26
Show Gist options
  • Save mainameiz/a9b4a4c6d3a57cab205e to your computer and use it in GitHub Desktop.
Save mainameiz/a9b4a4c6d3a57cab205e to your computer and use it in GitHub Desktop.
id oldname
usermod -l newname oldname
groupmod -n newname oldname
usermod -d /home/newname -m newname
usermod -c “New_real_name” newname
id newname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment