From 49327963e20736bdd80df68888168137b351f714 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 10 Sep 2016 10:45:36 +0100 Subject: [PATCH] Add command to create a system user to useradd. Creating a new system user is common administrative task on the average linux server. Adding the appropriate command to tldr-pages will be rather useful, since it isn't something you do every day and is easy to forget. --- pages/linux/useradd.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/useradd.md b/pages/linux/useradd.md index 4514cff7a4..1d69611e5a 100644 --- a/pages/linux/useradd.md +++ b/pages/linux/useradd.md @@ -17,3 +17,7 @@ - Create new user with supplementary groups (mind the lack of whitespace): `useradd -G {{group1,group2}} {{name}}` + +- Create new system user without a home directory: + +`useradd --no-create-home --system {{name}}`