How to Change Username on Ubuntu

Straightforward command line to change / update Existing Username on Ubuntu or similar Linux Systems

usermod -l [new-login-name] -d /home/[new-login-name] -m [old-login-nae]


# -l login name
# -d directory of the new login
# -m old login name to change

Share This

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
*