Rename a user / change username: Difference between revisions

From Andreida
(Created page with "Avoid to change the passwd directly. There might be problems in some cases. Instead use: usermod -l newname oldname Rules: * only lowercase * only use '-' as special chara...")
(No difference)

Revision as of 18:04, 21 February 2023

Avoid to change the passwd directly. There might be problems in some cases.

Instead use:

usermod -l newname oldname

Rules:

  • only lowercase
  • only use '-' as special character, but avoid it if you can