Bug 716248 - Request environment variable to run the JON server as a different user for init
Summary: Request environment variable to run the JON server as a different user for init
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Usability
Version: 3.0.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-23 18:54 UTC by dsteigne
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description dsteigne 2011-06-23 18:54:53 UTC
Description of problem:
Unable to start JON Server as non-root user using init. JON supports automated start up of JON using the init mechanism, as defined here : http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.3/html/JON_Server_Guide/JON_Server-Running_Server-Running_Unix.html

The Agent supports an environment variable RHQ_AGENT_START_COMMAND, which allows you to specify a su command to run this as a non-root user.

The Server doesn't contain a similar function and there is no supported mechanism to start as non-root user, you have to create a SysV style Init script, can a similar environment variable be added to the Server as in the agent.

Version-Release number of selected component (if applicable):
2.4.1

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.