[JIRA] Updated: (SSPCPP-389) Add option to shibd to set uid and gid at startup

Kaspar Brand (JIRA) noreply at shibboleth.net
Mon Sep 5 12:24:26 BST 2011


     [ https://issues.shibboleth.net/jira/browse/SSPCPP-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaspar Brand updated SSPCPP-389:
--------------------------------

    Attachment: shibd-runas.diff

Sorry for bothering again... but I just realized that with the current patch, -u and -g are supposed to specify numeric UIDs/GIDs. I think that's of somewhat limited usefulness.

Would you mind applying something like the attached patch, so that "-u shibd" etc. can be used on the command line?

(I just added the additional headers within the HAVE_UNISTD_H block, maybe some more AC_CHECK_HEADER foo in configure.ac would be the cleaner approach.)

> Add option to shibd to set uid and gid at startup
> -------------------------------------------------
>
>                 Key: SSPCPP-389
>                 URL: https://issues.shibboleth.net/jira/browse/SSPCPP-389
>             Project: Shibboleth SP - C++
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Scott Cantor
>            Assignee: Scott Cantor
>            Priority: Minor
>             Fix For: 2.5
>
>         Attachments: shibd-runas.diff
>
>   Original Estimate: 1 day
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> Getting the Macport to handle non-root startup will be much cleaner if we can set the user to run shibd with on the command line.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list