Bug 535736 (RHQ-2400) - add option to boot server as specific user
Summary: add option to boot server as specific user
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-2400
Product: RHQ Project
Classification: Other
Component: Launch Scripts
Version: unspecified
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
: RHQ-2450 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-01 15:22 UTC by Mark Burchard
Modified: 2014-05-09 15:48 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-09 15:48:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Mark Burchard 2009-09-01 15:22:00 UTC
Customer is requesting this.

I actually used to have a script that I modified to do this, but I lost it.  

Comment 1 John Mazzitelli 2009-09-01 16:03:41 UTC
RHQ-1189 did something similar for the agent

Comment 2 Mark Burchard 2009-10-04 17:20:54 UTC
There's no reason for the Server to run as root, which is what it will do when called from init at present. In any case, the runas user should be configurable. Not sure if this should be a wrapper script along the lines of the Agent, but that would at least make things consistent. Syncing the current init scripts style with the EAP jboss_init_* script style would be the "right" way to do it. Something in the "$JBOSS_USER" format. Also, we should move all the configurable variables to a standardized file along the lines of run.conf. Basically, there should be no reason to edit either the Agent or Server start/init scripts at all.

I'm not a big fan of the way the daemon user is configurable in with the Agent at present. It's buried in the file and not very intuitive unless you know *nix. It really should be a variable.
 

Comment 3 Red Hat Bugzilla 2009-11-10 21:03:42 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2400
This bug is related to RHQ-1189


Comment 4 wes hayutin 2010-02-16 17:10:02 UTC
mass add of key word FutureFeature to help track

Comment 6 Corey Welton 2010-12-23 14:41:45 UTC
Triaged 20-Dec

Comment 7 Corey Welton 2010-12-23 14:47:33 UTC
*** Bug 535791 has been marked as a duplicate of this bug. ***

Comment 8 Jay Shaughnessy 2014-05-09 15:48:15 UTC
The RUN_AS stuff should handle this and/or the new rhqctl options.


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