From 1024222c5e4645660b9c3fe6b3a5cc9a8c7f587d Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Tue, 7 Apr 2026 04:51:40 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Linux/users.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Linux/users.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Linux/users.md 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