Rename a user / change username

From Andreida
Revision as of 18:04, 21 February 2023 by Andreas (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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