Operating System - HP-UX
1820233 Members
3264 Online
109620 Solutions
New Discussion юеВ

inetd does not run with defined user

 
J├╝rgen Heim
Frequent Advisor

inetd does not run with defined user

Hi all
I search about the misstake in the inetd.conf on HPUX 11.11.
We have a software they need to configure the /etc/inetd.conf as
follow.
rpc stream tcp nowait idsm /etc/run_iman_idsm_edu-ba 536875594 1
run_iman_idsm
rpc stream tcp nowait idsm /etc/run_iman_idsm_edu-ma 536875595 1
run_iman_idsm
but if i reboot / restart the inet daemon the user which is configured
will not taking.
rpcinfo | grep 53687559 | grep superuser | sort -k 1
 536875594    1    tcp       0.0.0.0.192.7       -          superuser
 536875595    1    tcp       0.0.0.0.192.6       -          superuser
The User exists and i could loggin as the idsm user
finger idsm
Login name: idsm                        In real life: TC Engineering SW
MultiSite owner
Directory: /home/idsm                   Shell: /usr/local/bin/bash
Last login Fri Jul 29, 2005 on pts/19
i hope anybody could have an idee what is wrong in this configration.
Thank you
5 REPLIES 5
Simon Hargrave
Honored Contributor

Re: inetd does not run with defined user

What is the UID of idsm, has it been configured as UID 0 by any chance?

If not does the idsm user have access to execute the run_iman_idsm... binaries?
J├╝rgen Heim
Frequent Advisor

Re: inetd does not run with defined user

Hello Simon!
UID of idsm is 414499812. The binaries /etc/run_* all have execute rights for everybody. If we start the processes by hand (not with inetd) it runs ok!!
RAC_1
Honored Contributor

Re: inetd does not run with defined user

does user idsm has required access to all files that it requires to start that program?
Can you run that program manually with user idsm?
There is no substitute to HARDWORK
J├╝rgen Heim
Frequent Advisor

Re: inetd does not run with defined user

Hello RAC!

Yes, it runs fine if we start it manually!
OldSchool
Honored Contributor

Re: inetd does not run with defined user

does anything show up in syslog for this when you start inet.d w/ logging enabled?