<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Starting up apache with user apache in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844644#M91909</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For your requirement to work you will have to change the ownership of httpd execuatble to user apache. And you will have to specify the port in which httpd listens above 1024 , say 8080 and give proper read and execute permissions for apache files for user apache. &lt;BR /&gt;&lt;BR /&gt; Normal user processes cannot bind to the ports lesser than 1024.&lt;BR /&gt;&lt;BR /&gt;So even with "User" option in httpd.conf , apache is designed in such a way that parent httpd has to run as root for binding to ports lesser than 1024 ( port 80 as standard http port).&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
    <pubDate>Thu, 14 Nov 2002 11:05:17 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2002-11-14T11:05:17Z</dc:date>
    <item>
      <title>Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844640#M91905</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I wuold like to do an intelligent script for start and stop apache from user apache and not root. &lt;BR /&gt;&lt;BR /&gt;Could someone suggest me something?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 14 Nov 2002 09:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844640#M91905</guid>
      <dc:creator>Fabrizio_10</dc:creator>
      <dc:date>2002-11-14T09:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844641#M91906</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In your httpd.conf you could specify the user.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;BR /&gt;# If you wish httpd to run as a different user or group, you must run&lt;BR /&gt;# httpd as root initially and it will switch.&lt;BR /&gt;#&lt;BR /&gt;# User/Group: The name (or #number) of the user/group to run httpd as.&lt;BR /&gt;#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".&lt;BR /&gt;#  . On HPUX you may not be able to use shared memory as nobody, and the&lt;BR /&gt;#    suggested workaround is to create a user www and use that user.&lt;BR /&gt;#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)&lt;BR /&gt;#  when the value of (unsigned)Group is above 60000;&lt;BR /&gt;#  don't use Group nogroup on these systems!&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Thu, 14 Nov 2002 09:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844641#M91906</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-11-14T09:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844642#M91907</link>
      <description>Hi Clemens,&lt;BR /&gt;&lt;BR /&gt;you are right, but is not exactlly what I want.&lt;BR /&gt;Following your post, the situation will be:&lt;BR /&gt;&lt;BR /&gt;[h3mih153]/home/apache#ps -ef |grep httpd&lt;BR /&gt;     www 12269 12202  0 09:47:15 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12206 12202  0 09:40:10 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12270 12202  0 09:47:16 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12207 12202  0 09:40:10 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12203 12202  0 09:40:09 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;    root 12202     1  0 09:40:08 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12271 12202  0 09:47:16 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12204 12202  0 09:40:10 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;     www 12205 12202  0 09:40:10 ?         0:00 /opt/apache/bin/httpd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is correct, but I wuold like to change the owner of the father of pid (actually is root) in apache.&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Thu, 14 Nov 2002 09:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844642#M91907</guid>
      <dc:creator>Fabrizio_10</dc:creator>
      <dc:date>2002-11-14T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844643#M91908</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Ok I now understand your question fully.&lt;BR /&gt;&lt;BR /&gt;But I don't know if this  is possible at all.&lt;BR /&gt;&lt;BR /&gt;See:&lt;BR /&gt;&lt;BR /&gt;# If you wish httpd to run as a different user or group, you "must" run ----&amp;gt; MUST&lt;BR /&gt;# httpd as root initially and it will switch. &lt;BR /&gt;&lt;BR /&gt;But then again maybe someone else has done this before.&lt;BR /&gt;On my system it's the same as your example.&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Thu, 14 Nov 2002 10:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844643#M91908</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-11-14T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844644#M91909</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For your requirement to work you will have to change the ownership of httpd execuatble to user apache. And you will have to specify the port in which httpd listens above 1024 , say 8080 and give proper read and execute permissions for apache files for user apache. &lt;BR /&gt;&lt;BR /&gt; Normal user processes cannot bind to the ports lesser than 1024.&lt;BR /&gt;&lt;BR /&gt;So even with "User" option in httpd.conf , apache is designed in such a way that parent httpd has to run as root for binding to ports lesser than 1024 ( port 80 as standard http port).&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Thu, 14 Nov 2002 11:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844644#M91909</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-11-14T11:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844645#M91910</link>
      <description>Thanks a lot to all and in particoular to Siva...&lt;BR /&gt;&lt;BR /&gt;It works fine!&lt;BR /&gt;&lt;BR /&gt;Bye</description>
      <pubDate>Thu, 14 Nov 2002 11:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844645#M91910</guid>
      <dc:creator>Fabrizio_10</dc:creator>
      <dc:date>2002-11-14T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Starting up apache with user apache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844646#M91911</link>
      <description>Assigning points encourages us</description>
      <pubDate>Thu, 14 Nov 2002 11:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/starting-up-apache-with-user-apache/m-p/2844646#M91911</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-11-14T11:32:30Z</dc:date>
    </item>
  </channel>
</rss>

