[JIRA] (IDP-1927) Make Jetty run under its own credentials for windows installs

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Dec 7 17:26:49 UTC 2022


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-1927 ( https://shibboleth.atlassian.net/browse/IDP-1927?atlOrigin=eyJpIjoiZThhNmU3MmM3ZTczNGM0ZGFmOTZkZjQ4NmMzNmM1NjAiLCJwIjoiaiJ9 )

Re: Make Jetty run under its own credentials for windows installs ( https://shibboleth.atlassian.net/browse/IDP-1927?atlOrigin=eyJpIjoiZThhNmU3MmM3ZTczNGM0ZGFmOTZkZjQ4NmMzNmM1NjAiLCJwIjoiaiJ9 )

Someting like this seems to work

cacls conf /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:r
cacls creds /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:r
cacls logs /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:f

cacls jetty-base\start.d /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:r
cacls jetty-base\logs /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:f
cacls jetty-base\tmp /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:f

cacls ..\procrun\log /e /t /g WIN-RL90RTRRFCG\SHIBD_USER:f

We would need to do it after CreateFolders and we could conditionalize it with INSTALL_JETTYD_USER.684B3207_0D64_43E6_9E6A_3ACB8B7672D7

( https://shibboleth.atlassian.net/browse/IDP-1927#add-comment?atlOrigin=eyJpIjoiZThhNmU3MmM3ZTczNGM0ZGFmOTZkZjQ4NmMzNmM1NjAiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1927#add-comment?atlOrigin=eyJpIjoiZThhNmU3MmM3ZTczNGM0ZGFmOTZkZjQ4NmMzNmM1NjAiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- sha1:e499055 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221207/e0367b5e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-333c11f4-bd24-49a8-b942-41dfe77c51c4
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221207/e0367b5e/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-2303004e-debb-4f16-9b8c-32d255b58773
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221207/e0367b5e/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-28091998-f89e-485e-b9a0-871e2436bb9b
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221207/e0367b5e/attachment-0005.png>


More information about the commits mailing list