[Freeipa-users] Managing jboss through sudo

David Sastre Medina d.sastre.medina at gmail.com
Wed Jan 23 07:18:44 UTC 2013


On Wed, Jan 16, 2013 at 08:18:12PM -0500, Dmitri Pal wrote:
> On 01/16/2013 07:30 PM, William Muriithi wrote:
> > Hello
> >
> > I am trying to set up dev systems and want to only allow developers to
> > modify the jboss directory tree, shutdown and restarting jboss.  This
> > is mainly so that they dev system don't deviate from the qa and
> > production machines.
> >
> > The directory permissions are fine, but I am having a problem with
> > stopping and restarting jboss.  (We are running jboss on port 80, so
> > they would need root permission for it to bind on port 80).  My other
> > problem is that the jboss directory path is not the same across
> > servers.

Wouldn't it be easier to have an init script for JBoss?
This way, all you'd need is a sudo rule to allow devs to:

$ sudo service jboss (start|stop|status)

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20130123/89d4d23e/attachment.sig>


More information about the Freeipa-users mailing list