mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 22:55:43 +02:00
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:
parent
ed012db814
commit
49327963e2
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue