Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Inetadm service not running as the correct user

997635Nov 19 2014 — edited Nov 20 2014

We recently made a minor change to an inetadm service (the 'exec' section) used for an internally developed app.  Prior to making this change, the process ran as user 'foo'.  After the change, the service runs as 'root'.  I have made sure that the user did not change after we made this change. 

Here is the service:

inetadm -l svc:/network/mq50031/tcp

SCOPE    NAME=VALUE

         name="mq50031"

         endpoint_type="stream"

         proto="tcp"

         isrpc=FALSE

         wait=FALSE

         exec="/opt/projects/merchants/bin/fooproc_5.2 -f /opt/projects/merchants/etc/foo_01.rc"

         user="mqm"

default  bind_addr=""

default  bind_fail_max=-1

default  bind_fail_interval=-1

default  max_con_rate=-1

         max_copies=2

default  con_rate_offline=-1

default  failrate_cnt=40

default  failrate_interval=60

default  inherit_env=TRUE

default  tcp_trace=TRUE

default  tcp_wrappers=FALSE

default  connection_backlog=10

After connecting to port 50031 to test, this is running:

root  3163 11382   0 12:50:35 ?           0:00 /opt/projects/merchants/bin/mqproc_5.2 -f /opt/projects/merchants/etc/foo_01

It should look like one of the other, properly working services.

mqm 22263 11382   0   Nov 15 ?           0:18 /opt/projects/merchants/bin/mqproc_5.2 -f /opt/projects/merchants/etc/bar_01

What am I missing? 

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2014
Added on Nov 19 2014
1 comment
682 views