From 084ac3bb9e47d41ba4d91288f42f1a4aac1e0cde Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 2 Feb 2023 16:55:30 +0100 Subject: [PATCH] [fix] Use sbin/nologin in rpm spec --- netoik-api.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netoik-api.spec b/netoik-api.spec index dc448e1..1ac74ea 100644 --- a/netoik-api.spec +++ b/netoik-api.spec @@ -26,7 +26,7 @@ Netoik rest API server %make_install %pre -id %{name} || useradd --no-create-home --shell=%(which nologin) --user-group %{name} +id %{name} || useradd --no-create-home --shell=%{_sbindir}/nologin --user-group %{name} %post systemctl daemon-reload