activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3317) apollo-broker-service should avoid sudo if already the right user.
Date Thu, 12 May 2011 15:24:47 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032457#comment-13032457
] 

Hiram Chirino commented on AMQ-3317:
------------------------------------

Fixed.

> apollo-broker-service should avoid sudo if already the right user.
> ------------------------------------------------------------------
>
>                 Key: AMQ-3317
>                 URL: https://issues.apache.org/jira/browse/AMQ-3317
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Apollo
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>
> Lionel Cons posted to the dev list:
> {quote}
> If the $APOLLO_USER runs apollo-service-broker, the script will
> attempt to use sudo anyway.
> I would suggest to replace:
>  if [ -z "$APOLLO_USER" ] ; then
> by something like:
>  if [ -z "$APOLLO_USER" -a `id -un` != "$APOLLO_USER" ] ; then
> {quote}

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

Mime
View raw message