nginx: Disable login for www user
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
--- meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-webserver/recipes-httpd/nginx/nginx.inc +2 -1
@@ -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"
Signature · 1 line
2.30.2
Quoted 8 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Maksim Perevozchikov
Sent: den 10 april 2024 12:25
To: Maksim Perevozchikov <[email protected]>; openembedded- [email protected]
Subject: Re: [oe] [PATCH] nginx: Disable login for www user
Quoted 4 lines
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?
Amend the commit to contain the necessary changes, then create a new version of the patch. Make sure to note that this the second version of the patch. You can do this by adding -v2 as option to git format-patch. It is also appreciated if you comment the patch with what has changed compared to the previous version. You can do this by adding any relevant information after the line with three dashes ("---").
//Peter
Quoted 29 lines
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 userSigned-off-by Maxim Perevozchikov <[email protected]>--- meta-webserver/recipes-httpd/nginx/nginx.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-webserver/recipes-httpd/nginx/nginx.inc +2
-2@@ -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