💾 Archived View for freeshell.de › tldr › useradd.gmi captured on 2023-09-28 at 17:00:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

useradd

Create a new user.
See also: `users`, `userdel`, `usermod`.

More information.

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).

CC-BY