diff --git a/Linux/users.md b/Linux/users.md new file mode 100644 index 0000000..04c109c --- /dev/null +++ b/Linux/users.md @@ -0,0 +1,12 @@ +# Popular Linux user actions + +## Add nologin, no home user (for running services) + +```bash +useradd --no-create-home --shell /usr/sbin/nologin user_name +``` + +## Add user in group +```bash +usermod -aG group_name user_name +``` \ No newline at end of file