EsiObjects and xinetd user id problem...

14 views
Skip to first unread message

Terry

unread,
Jul 24, 2009, 5:10:30 PM7/24/09
to EsiObjects Community
I'm at the point where I'm testing a complete rewrite of the install.
I have a problem with xinetd.

The configuration file and the xinetd_startup script are listed below.

Starting up the xinetd service and connecting from the EO client works
just fine when I set user = tlwiechmann (my login which is in the etc/
passwd file). However, if I change that to user=root or bin or daemon
(in the /etc/passwd file also) – it does not work?

I get the following logged in the /var/log/syslog file: Jul 24
16:57:44 mars xinetd[25718]: setuid failed: Operation not permitted
(errno = 1)

This worked on the previous release??

Any suggestions?

-------------------Configuration file---------------------------
# EsiObjects Xinetd Port Service Configuration
# Copyright (c) Stormwoods LLC, Eugene, OR
#
service esiobjects
{
port = 9000
socket_type = stream
protocol = tcp
user = tlwiechmann
server = /opt/lsb-esiobjects/V4.2.0.9/xinetd_startup
type = UNLISTED
wait = no
disable = no
}

----------------- xinetd_startup script------------------

#!/bin/sh

# Get pointers to esiobjects and gtm.
. /opt/lsb-esiobjects/dist.sh

# To map VistA Outreach in, add the following path: /home/wvehr1/EHR/o
(/home/wvehr1/EHR/r)
gtmroutines=". $esiobjects_dist/source($esiobjects_dist/source) /opt/
lsb-esiobjects/user/source(/opt/lsb-esiobjects/user/source) $gtm_dist"
export gtmroutines

EsiObjects_Source="/opt/lsb-esiobjects/user/source"
export EsiObjects_Source

gtmgbldir=$esiobjects_dist/data/esiobjects.gld
export gtmgbldir

esiobjectsdir=$esiobjects_dist
export esiobjectsdir

# Start up the EsiObjects xinetd server.
$gtm_dist/mumps -r GTMSRV^VESOTCSV

Terry

unread,
Jul 24, 2009, 5:16:24 PM7/24/09
to EsiObjects Community
Let me answer that question for you Terry - you have to start the
service up as root in order to use the service as root - duh!

Terry
Reply all
Reply to author
Forward
0 new messages