Hi Folks,

I've found out that the patch has an issue. Should I issue the new patch or 
there is a way to fix the original one?

Thanks for reply,
Maxim

-----Original Message-----
From: [email protected] 
<[email protected]> On Behalf Of Maksim Perevozchikov
Sent: Monday, April 8, 2024 11:02 AM
To: [email protected]
Cc: Maksim Perevozchikov <[email protected]>
Subject: [oe] [PATCH] nginx: Disable login for www user

Signed-off-by: Maxim Perevozchikov <[email protected]>
---
 meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index f65c20971..439e28a8f 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -186,4 +186,5 @@ USERADD_PARAM:${PN} = " \
     --system --no-create-home \
     --home ${NGINX_WWWDIR} \
     --groups www-data \
-    --user-group ${NGINX_USER}"
+    --user-group ${NGINX_USER} \
+    --shell ${base_sbindir}/nologin"
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109888): 
https://lists.openembedded.org/g/openembedded-devel/message/109888
Mute This Topic: https://lists.openembedded.org/mt/105397340/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to