0 Replies Latest reply on Apr 28, 2014 8:15 AM by didds

    starting jboss with the service command asa non-root user

    didds

      I have googled this honest :-)

       

      Scenario:

       

      * centos 6 and jboss-as-7.1.1.Final

      * How can you make it so if someone logs in as root and does `service jboss restart` how can you make it start as a non root user  eg a user named t24 ?

       

      I know we can use a startup script using "su -c" but i've been tasked with solving the above.

       

      TIA etc

       

      didds