💾 Archived View for freeshell.de › tldr › useradd.gmi captured on 2022-04-28 at 19:42:02. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Create a new user.
See also: `users`, `userdel`, `usermod`.
sudo useradd {username}
sudo useradd --uid {id} {username}
sudo useradd --shell {path/to/shell} {username}
sudo useradd --groups {group1,group2,...} {username}
sudo useradd --create-home {username}
sudo useradd --skel {path/to/template_directory} --create-home {username}
sudo useradd --system {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).