User Tools

Site Tools


linux:renameuser

Rename User account

usermod -l modifies the login name, -g modifies the primary group and -m -d moves the users home directory.

usermod -l newname pi
usermod -g newgroup pi
usermod -m -d /home/newname newname
linux/renameuser.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki