Skip to content

Rename User

Downside is you have to do it as another user:

Bash
sudo adduser temp
Bash
sudo adduser tempo sudo

Rename with:

Bash
sudo usermod -l newUsername oldUsername
Bash
sudo groupmod -n newUsername oldUsername

Change homedir name:

Bash
sudo usermod -d /home/newHomeDir -m newUsername
Back to top