Changing Linux username

Linux user name can be changed whenever a user feels to do so. 

You can do so via the command line using the usermod command.

Syntax:

usermod -l [new username] [existing username]


sudo usermod -l goyun awikica


You can confirm the username change by running the id [user] command command.

Comments