Skip to content

Commit 95f20dd

Browse files
authored
Use updated setuid with clearSupplementalGroups (#4609)
* Use updated setuid with clearSupplementalGroups Signed-off-by: Greg Wilkins <[email protected]> * remove version from setuid.mod Signed-off-by: Greg Wilkins <[email protected]>
1 parent 75893da commit 95f20dd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

jetty-home/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<properties>
1414
<assembly-directory>${basedir}/target/jetty-home</assembly-directory>
1515
<source-assembly-directory>${basedir}/target/jetty-home-sources</source-assembly-directory>
16-
<jetty-setuid-version>1.0.3</jetty-setuid-version>
16+
<jetty-setuid-version>1.0.4</jetty-setuid-version>
1717
</properties>
1818

1919
<build>

jetty-home/src/main/resources/etc/jetty-setuid.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<Set name="umaskOctal"><Property name="jetty.setuid.umask" deprecated="jetty.umask" default="002"/></Set>
1111
<Set name="username"><Property name="jetty.setuid.userName" deprecated="jetty.username" default="jetty"/></Set>
1212
<Set name="groupname"><Property name="jetty.setuid.groupName" deprecated="jetty.groupname" default="jetty"/></Set>
13+
<Set name="clearSupplementalGroups"><Property name="jetty.setuid.clearSupplementalGroups" default="false"/></Set>
1314
<!-- uncomment to change the limits on number of open file descriptors for root -->
1415
<!--
1516
<Call name="setRLimitNoFiles">

jetty-home/src/main/resources/modules/setuid.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ changing to a restricted user (eg jetty).
99
server
1010

1111
[lib]
12-
lib/setuid/jetty-setuid-java-1.0.3.jar
12+
lib/setuid/*.jar
1313
1414
[xml]
1515
etc/jetty-setuid.xml
@@ -20,3 +20,4 @@ etc/jetty-setuid.xml
2020
# jetty.setuid.userName=jetty
2121
# jetty.setuid.groupName=jetty
2222
# jetty.setuid.umask=002
23+
# jetty.setuid.clearSupplementalGroups=false

0 commit comments

Comments
 (0)