💾 Archived View for freeshell.de › tldr › usermod.gmi captured on 2022-06-11 at 23:56:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Modifies a user account.
See also: `users`, `useradd`, `userdel`.
sudo usermod --login {new_username} {username}
sudo usermod --uid {id} {username}
sudo usermod --shell {path/to/shell} {username}
sudo usermod --append --groups {group1,group2,...} {username}
sudo usermod --move-home --home {path/to/new_home} {username}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).