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.
This commit is contained in:

committed by
GitHub

parent
ed012db814
commit
49327963e2
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user