Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsHow to upgrade Apache 2.2.15 to 2.4.4 in CentOSHow can I debug Apache, not starting upon bootUnable to change permissions of file system rootAUTHBIND: Unable to authbind with tomcat 6 on redhat hostApache (httpd) failing to start on boot - CentOS 7Considering Group and User to Install Apache httpd with different Directory - CentOS 6.6Apache Tomcat and Httpd - Sharing common web publication folder - CentOSselinux started blocking php “exec” calls after yum updateApache is not starting upApache/HTTPD service not workingsystemd custom service: Failed at step EXEC spawning … Permission denied

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

In horse breeding, what is the female equivalent of putting a horse out "to stud"?

Does Parliament hold absolute power in the UK?

I could not break this equation. Please help me

How to pronounce 1ターン?

Can a 1st-level character have an ability score above 18?

Is this wall load bearing? Blueprints and photos attached

The variadic template constructor of my class cannot modify my class members, why is that so?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

What LEGO pieces have "real-world" functionality?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

How should I replace vector<uint8_t>::const_iterator in an API?

Single author papers against my advisor's will?

"... to apply for a visa" or "... and applied for a visa"?

Difference between "generating set" and free product?

How is simplicity better than precision and clarity in prose?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

Do warforged have souls?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Why can't wing-mounted spoilers be used to steepen approaches?

Wall plug outlet change

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Did the new image of black hole confirm the general theory of relativity?



Starting Apache Httpd at Boot time with Zero intervention, CentOS and authbind



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsHow to upgrade Apache 2.2.15 to 2.4.4 in CentOSHow can I debug Apache, not starting upon bootUnable to change permissions of file system rootAUTHBIND: Unable to authbind with tomcat 6 on redhat hostApache (httpd) failing to start on boot - CentOS 7Considering Group and User to Install Apache httpd with different Directory - CentOS 6.6Apache Tomcat and Httpd - Sharing common web publication folder - CentOSselinux started blocking php “exec” calls after yum updateApache is not starting upApache/HTTPD service not workingsystemd custom service: Failed at step EXEC spawning … Permission denied



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!)



Later of Apache was installed:



# ./configure --prefix=/usr/local/httpd ... --with-included-apr --with-included-apr-util -with-pcre=/usr/local/pcre --with-z=/usr/local/zlib
# make
# make install


I made this (I created an user named httpd with root group):



# useradd -g root -r -c "Httpd User" -s /sbin/nologin httpd
# chown -hvR httpd:root /usr/local/httpd/


I changed the privileges:



# chown -hvR httpd:root /usr/local/httpd/bin/

# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwSr-Sr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwSr-Sr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwSr-Sr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwSr-Sr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwSr-Sr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwSr-Sr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwSr-Sr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwSr-Sr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwSr-Sr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwSr-Sr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwSr-Sr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwSr-Sr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwSr-Sr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwSr-Sr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwSr-Sr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwSr-Sr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
# /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

# chmod -R u=rwx,g=rx,o=rx /usr/local/httpd/bin/
# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwxr-xr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwxr-xr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwxr-xr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwxr-xr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwxr-xr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwxr-xr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwxr-xr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwxr-xr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwxr-xr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwxr-xr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwxr-xr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwxr-xr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwxr-xr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwxr-xr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwxr-xr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwxr-xr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
#


Other



# /bin/su -p -s /bin/sh httpd /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs




I created an service for this reason: (short) like this:



SERVICE_HOME=/usr/local/httpd
SERVICE_USER=httpd
SERVICE_NAME=Httpd
SHUTDOWN_WAIT=20

service_pid() grep -v grep

start()
pid=$(service_pid)
if [ -n "$pid" ]
then
echo "$SERVICE_NAME is already running (pid: $pid)"
else
# Start httpd
echo "Starting $SERVICE_NAME"
/bin/su -p -s /bin/sh $SERVICE_USER $SERVICE_HOME/bin/apachectl start
#/bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
fi
return 0



But was impossible:



I wasd trying with authbind



http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.2.0.tar.gz

# tar zxvf /.../authbind_1.2.0.tar.gz -C /usr/local/
# cd /usr/local/authbind-1.2.0
# make
# make install

# ls -ARl /etc/authbind/
/etc/authbind/:
total 12
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byaddr
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byport
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byuid

/etc/authbind/byaddr:
total 0

/etc/authbind/byport:
total 0

/etc/authbind/byuid:
total 0
#

# touch /etc/authbind/byport/80
# chown httpd:root /etc/authbind/byport/80
# chmod 755 /etc/authbind/byport/80


Trying test from the prompt (I need that apache starts with httpd user!!!)



# /bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
/usr/local/bin/authbind: /usr/local/bin/authbind: cannot execute binary file
# /bin/su -p -s /bin/sh httpd exec authbind /usr/local/httpd/bin/apachectl start
sh: exec: No such file or directory
# /bin/su -p -s /bin/sh httpd exec authbind --deep /usr/local/http/bin/apachectl start
/bin/su: unrecognized option '--deep'
Try `/bin/su --help' for more information.
#



Question 1:



works authbind in RHEL/CentOS/Fedora Environment?




Question 2:



What must be my commands?
Is needed exec or --deep together with authbind?




testing authbind with root user has not problem!



# authbind /usr/local/httpd/bin/apachectl start
# authbind /usr/local/httpd/bin/apachectl stop
#


Question 3:



Is needed /bin/su, -p, -s and /bin/sh with httpd user?










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

    – mjturner
    Jul 12 '15 at 20:23











  • If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

    – mjturner
    Jul 12 '15 at 20:28











  • I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

    – QA_Col
    Jul 12 '15 at 20:29











  • I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

    – QA_Col
    Jul 12 '15 at 20:33











  • This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

    – mjturner
    Jul 12 '15 at 20:36

















1















I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!)



Later of Apache was installed:



# ./configure --prefix=/usr/local/httpd ... --with-included-apr --with-included-apr-util -with-pcre=/usr/local/pcre --with-z=/usr/local/zlib
# make
# make install


I made this (I created an user named httpd with root group):



# useradd -g root -r -c "Httpd User" -s /sbin/nologin httpd
# chown -hvR httpd:root /usr/local/httpd/


I changed the privileges:



# chown -hvR httpd:root /usr/local/httpd/bin/

# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwSr-Sr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwSr-Sr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwSr-Sr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwSr-Sr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwSr-Sr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwSr-Sr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwSr-Sr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwSr-Sr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwSr-Sr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwSr-Sr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwSr-Sr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwSr-Sr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwSr-Sr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwSr-Sr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwSr-Sr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwSr-Sr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
# /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

# chmod -R u=rwx,g=rx,o=rx /usr/local/httpd/bin/
# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwxr-xr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwxr-xr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwxr-xr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwxr-xr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwxr-xr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwxr-xr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwxr-xr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwxr-xr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwxr-xr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwxr-xr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwxr-xr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwxr-xr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwxr-xr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwxr-xr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwxr-xr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwxr-xr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
#


Other



# /bin/su -p -s /bin/sh httpd /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs




I created an service for this reason: (short) like this:



SERVICE_HOME=/usr/local/httpd
SERVICE_USER=httpd
SERVICE_NAME=Httpd
SHUTDOWN_WAIT=20

service_pid() grep -v grep

start()
pid=$(service_pid)
if [ -n "$pid" ]
then
echo "$SERVICE_NAME is already running (pid: $pid)"
else
# Start httpd
echo "Starting $SERVICE_NAME"
/bin/su -p -s /bin/sh $SERVICE_USER $SERVICE_HOME/bin/apachectl start
#/bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
fi
return 0



But was impossible:



I wasd trying with authbind



http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.2.0.tar.gz

# tar zxvf /.../authbind_1.2.0.tar.gz -C /usr/local/
# cd /usr/local/authbind-1.2.0
# make
# make install

# ls -ARl /etc/authbind/
/etc/authbind/:
total 12
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byaddr
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byport
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byuid

/etc/authbind/byaddr:
total 0

/etc/authbind/byport:
total 0

/etc/authbind/byuid:
total 0
#

# touch /etc/authbind/byport/80
# chown httpd:root /etc/authbind/byport/80
# chmod 755 /etc/authbind/byport/80


Trying test from the prompt (I need that apache starts with httpd user!!!)



# /bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
/usr/local/bin/authbind: /usr/local/bin/authbind: cannot execute binary file
# /bin/su -p -s /bin/sh httpd exec authbind /usr/local/httpd/bin/apachectl start
sh: exec: No such file or directory
# /bin/su -p -s /bin/sh httpd exec authbind --deep /usr/local/http/bin/apachectl start
/bin/su: unrecognized option '--deep'
Try `/bin/su --help' for more information.
#



Question 1:



works authbind in RHEL/CentOS/Fedora Environment?




Question 2:



What must be my commands?
Is needed exec or --deep together with authbind?




testing authbind with root user has not problem!



# authbind /usr/local/httpd/bin/apachectl start
# authbind /usr/local/httpd/bin/apachectl stop
#


Question 3:



Is needed /bin/su, -p, -s and /bin/sh with httpd user?










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

    – mjturner
    Jul 12 '15 at 20:23











  • If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

    – mjturner
    Jul 12 '15 at 20:28











  • I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

    – QA_Col
    Jul 12 '15 at 20:29











  • I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

    – QA_Col
    Jul 12 '15 at 20:33











  • This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

    – mjturner
    Jul 12 '15 at 20:36













1












1








1








I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!)



Later of Apache was installed:



# ./configure --prefix=/usr/local/httpd ... --with-included-apr --with-included-apr-util -with-pcre=/usr/local/pcre --with-z=/usr/local/zlib
# make
# make install


I made this (I created an user named httpd with root group):



# useradd -g root -r -c "Httpd User" -s /sbin/nologin httpd
# chown -hvR httpd:root /usr/local/httpd/


I changed the privileges:



# chown -hvR httpd:root /usr/local/httpd/bin/

# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwSr-Sr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwSr-Sr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwSr-Sr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwSr-Sr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwSr-Sr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwSr-Sr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwSr-Sr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwSr-Sr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwSr-Sr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwSr-Sr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwSr-Sr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwSr-Sr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwSr-Sr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwSr-Sr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwSr-Sr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwSr-Sr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
# /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

# chmod -R u=rwx,g=rx,o=rx /usr/local/httpd/bin/
# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwxr-xr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwxr-xr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwxr-xr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwxr-xr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwxr-xr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwxr-xr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwxr-xr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwxr-xr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwxr-xr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwxr-xr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwxr-xr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwxr-xr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwxr-xr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwxr-xr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwxr-xr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwxr-xr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
#


Other



# /bin/su -p -s /bin/sh httpd /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs




I created an service for this reason: (short) like this:



SERVICE_HOME=/usr/local/httpd
SERVICE_USER=httpd
SERVICE_NAME=Httpd
SHUTDOWN_WAIT=20

service_pid() grep -v grep

start()
pid=$(service_pid)
if [ -n "$pid" ]
then
echo "$SERVICE_NAME is already running (pid: $pid)"
else
# Start httpd
echo "Starting $SERVICE_NAME"
/bin/su -p -s /bin/sh $SERVICE_USER $SERVICE_HOME/bin/apachectl start
#/bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
fi
return 0



But was impossible:



I wasd trying with authbind



http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.2.0.tar.gz

# tar zxvf /.../authbind_1.2.0.tar.gz -C /usr/local/
# cd /usr/local/authbind-1.2.0
# make
# make install

# ls -ARl /etc/authbind/
/etc/authbind/:
total 12
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byaddr
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byport
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byuid

/etc/authbind/byaddr:
total 0

/etc/authbind/byport:
total 0

/etc/authbind/byuid:
total 0
#

# touch /etc/authbind/byport/80
# chown httpd:root /etc/authbind/byport/80
# chmod 755 /etc/authbind/byport/80


Trying test from the prompt (I need that apache starts with httpd user!!!)



# /bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
/usr/local/bin/authbind: /usr/local/bin/authbind: cannot execute binary file
# /bin/su -p -s /bin/sh httpd exec authbind /usr/local/httpd/bin/apachectl start
sh: exec: No such file or directory
# /bin/su -p -s /bin/sh httpd exec authbind --deep /usr/local/http/bin/apachectl start
/bin/su: unrecognized option '--deep'
Try `/bin/su --help' for more information.
#



Question 1:



works authbind in RHEL/CentOS/Fedora Environment?




Question 2:



What must be my commands?
Is needed exec or --deep together with authbind?




testing authbind with root user has not problem!



# authbind /usr/local/httpd/bin/apachectl start
# authbind /usr/local/httpd/bin/apachectl stop
#


Question 3:



Is needed /bin/su, -p, -s and /bin/sh with httpd user?










share|improve this question
















I want to start Apache Httpd when Linux starts (with Zero intervention like submitting the root password, I don't want write the root password to start the apache service!!!)



Later of Apache was installed:



# ./configure --prefix=/usr/local/httpd ... --with-included-apr --with-included-apr-util -with-pcre=/usr/local/pcre --with-z=/usr/local/zlib
# make
# make install


I made this (I created an user named httpd with root group):



# useradd -g root -r -c "Httpd User" -s /sbin/nologin httpd
# chown -hvR httpd:root /usr/local/httpd/


I changed the privileges:



# chown -hvR httpd:root /usr/local/httpd/bin/

# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwSr-Sr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwSr-Sr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwSr-Sr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwSr-Sr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwSr-Sr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwSr-Sr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwSr-Sr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwSr-Sr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwSr-Sr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwSr-Sr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwSr-Sr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwSr-Sr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwSr-Sr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwSr-Sr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwSr-Sr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwSr-Sr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwSr-Sr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
# /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

# chmod -R u=rwx,g=rx,o=rx /usr/local/httpd/bin/
# ls -ARl --group-directories-first /usr/local/httpd/bin/
/usr/local/httpd/bin/:
total 2004
-rwxr-xr-x. 1 httpd root 117511 Jul 12 01:29 ab
-rwxr-xr-x. 1 httpd root 3461 Jul 12 01:07 apachectl
-rwxr-xr-x. 1 httpd root 7037 Jul 12 01:26 apr-1-config
-rwxr-xr-x. 1 httpd root 6596 Jul 12 01:27 apu-1-config
-rwxr-xr-x. 1 httpd root 23523 Jul 12 01:07 apxs
-rwxr-xr-x. 1 httpd root 9533 Jul 12 01:29 checkgid
-rwxr-xr-x. 1 httpd root 8925 Jul 12 01:07 dbmmanage
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars
-rwxr-xr-x. 1 httpd root 1089 Jul 12 01:07 envvars-std
-rwxr-xr-x. 1 httpd root 16476 Jul 12 01:29 fcgistarter
-rwxr-xr-x. 1 httpd root 60832 Jul 12 01:29 htcacheclean
-rwxr-xr-x. 1 httpd root 33254 Jul 12 01:29 htdbm
-rwxr-xr-x. 1 httpd root 18193 Jul 12 01:29 htdigest
-rwxr-xr-x. 1 httpd root 33958 Jul 12 01:29 htpasswd
-rwxr-xr-x. 1 httpd root 1606472 Jul 12 01:29 httpd
-rwxr-xr-x. 1 httpd root 16168 Jul 12 01:29 httxt2dbm
-rwxr-xr-x. 1 httpd root 17904 Jul 12 01:29 logresolve
-rwxr-xr-x. 1 httpd root 29642 Jul 12 01:29 rotatelogs
#


Other



# /bin/su -p -s /bin/sh httpd /usr/local/httpd/bin/apachectl start
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs




I created an service for this reason: (short) like this:



SERVICE_HOME=/usr/local/httpd
SERVICE_USER=httpd
SERVICE_NAME=Httpd
SHUTDOWN_WAIT=20

service_pid() grep -v grep

start()
pid=$(service_pid)
if [ -n "$pid" ]
then
echo "$SERVICE_NAME is already running (pid: $pid)"
else
# Start httpd
echo "Starting $SERVICE_NAME"
/bin/su -p -s /bin/sh $SERVICE_USER $SERVICE_HOME/bin/apachectl start
#/bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
fi
return 0



But was impossible:



I wasd trying with authbind



http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.2.0.tar.gz

# tar zxvf /.../authbind_1.2.0.tar.gz -C /usr/local/
# cd /usr/local/authbind-1.2.0
# make
# make install

# ls -ARl /etc/authbind/
/etc/authbind/:
total 12
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byaddr
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byport
drwxr-xr-x. 2 root root 4096 Jul 12 13:34 byuid

/etc/authbind/byaddr:
total 0

/etc/authbind/byport:
total 0

/etc/authbind/byuid:
total 0
#

# touch /etc/authbind/byport/80
# chown httpd:root /etc/authbind/byport/80
# chmod 755 /etc/authbind/byport/80


Trying test from the prompt (I need that apache starts with httpd user!!!)



# /bin/su -p -s /bin/sh httpd authbind /usr/local/httpd/bin/apachectl start
/usr/local/bin/authbind: /usr/local/bin/authbind: cannot execute binary file
# /bin/su -p -s /bin/sh httpd exec authbind /usr/local/httpd/bin/apachectl start
sh: exec: No such file or directory
# /bin/su -p -s /bin/sh httpd exec authbind --deep /usr/local/http/bin/apachectl start
/bin/su: unrecognized option '--deep'
Try `/bin/su --help' for more information.
#



Question 1:



works authbind in RHEL/CentOS/Fedora Environment?




Question 2:



What must be my commands?
Is needed exec or --deep together with authbind?




testing authbind with root user has not problem!



# authbind /usr/local/httpd/bin/apachectl start
# authbind /usr/local/httpd/bin/apachectl stop
#


Question 3:



Is needed /bin/su, -p, -s and /bin/sh with httpd user?







centos permissions startup apache-httpd authbind






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 12 '15 at 20:24







QA_Col

















asked Jul 12 '15 at 20:13









QA_ColQA_Col

210411




210411





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

    – mjturner
    Jul 12 '15 at 20:23











  • If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

    – mjturner
    Jul 12 '15 at 20:28











  • I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

    – QA_Col
    Jul 12 '15 at 20:29











  • I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

    – QA_Col
    Jul 12 '15 at 20:33











  • This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

    – mjturner
    Jul 12 '15 at 20:36

















  • What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

    – mjturner
    Jul 12 '15 at 20:23











  • If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

    – mjturner
    Jul 12 '15 at 20:28











  • I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

    – QA_Col
    Jul 12 '15 at 20:29











  • I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

    – QA_Col
    Jul 12 '15 at 20:33











  • This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

    – mjturner
    Jul 12 '15 at 20:36
















What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

– mjturner
Jul 12 '15 at 20:23





What are you trying to achieve? If you want you start Apache at boot, this is possible without the use of authbind. Also, why are you installing Apache from source? yum install httpd should be all you need to do...

– mjturner
Jul 12 '15 at 20:23













If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

– mjturner
Jul 12 '15 at 20:28





If you need to install a newer version of Apache, build an RPM and install that, using the source of the CentOS package as a starting point. Then you'll have the correct init scripts, etc. You should never ever install binaries from source on a package-based Linux distribution.

– mjturner
Jul 12 '15 at 20:28













I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

– QA_Col
Jul 12 '15 at 20:29





I'm istalling apache from binary "tar.gz" I making test form recently releases (newer versions)

– QA_Col
Jul 12 '15 at 20:29













I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

– QA_Col
Jul 12 '15 at 20:33





I'mk obstinate work with binary source, I don't want leave the line queastion, but your porpouse is very instersting for me... (if you have a link for these please give me)....

– QA_Col
Jul 12 '15 at 20:33













This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

– mjturner
Jul 12 '15 at 20:36





This may give you a starting point - unix.stackexchange.com/a/121012/5186. Also, check that there isn't the version of Apache you need in one of the extra repositories for CentOS.

– mjturner
Jul 12 '15 at 20:36










1 Answer
1






active

oldest

votes


















0














you must to use the new version of authbind supporting IPV6:
http://ftp.debian.org/debian/pool/main/a/authbind/



or



http://www.filewatcher.com/m/authbind_2.1.1.tar.gz.14407-0.html



ftp://ftp.debian.com/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz



tar zxvf /home/.../authbind_2.1.1.tar.gz -C /your/path/
cd /your/path/authbind-2.1.1
make
make install


About the user and group, the user is not necessary to belong to root group...



useradd -r -c "Httpd User" -s /sbin/nologin httpd
chown -hR httpd: /usr/local/httpd/


Now, the autho



touch /etc/authbind/byport/80
chown httpd: /etc/authbind/byport/80
chmod 755 /etc/authbind/byport/80


Answer 1



I have seen several tutorials Authbind for CentOS, RHEL and Fedora, for some reason... works, then the answer is Yes...



Answer 2



starting the server try this in your script:



/bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl start"


or



/bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl start"


stoping the server try this in your script:



/bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl stop"


or



/bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl stop"


Answer 3



About of your Question 3, please check:
su and
sh






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f215513%2fstarting-apache-httpd-at-boot-time-with-zero-intervention-centos-and-authbind%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    you must to use the new version of authbind supporting IPV6:
    http://ftp.debian.org/debian/pool/main/a/authbind/



    or



    http://www.filewatcher.com/m/authbind_2.1.1.tar.gz.14407-0.html



    ftp://ftp.debian.com/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz



    tar zxvf /home/.../authbind_2.1.1.tar.gz -C /your/path/
    cd /your/path/authbind-2.1.1
    make
    make install


    About the user and group, the user is not necessary to belong to root group...



    useradd -r -c "Httpd User" -s /sbin/nologin httpd
    chown -hR httpd: /usr/local/httpd/


    Now, the autho



    touch /etc/authbind/byport/80
    chown httpd: /etc/authbind/byport/80
    chmod 755 /etc/authbind/byport/80


    Answer 1



    I have seen several tutorials Authbind for CentOS, RHEL and Fedora, for some reason... works, then the answer is Yes...



    Answer 2



    starting the server try this in your script:



    /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl start"


    or



    /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl start"


    stoping the server try this in your script:



    /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl stop"


    or



    /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl stop"


    Answer 3



    About of your Question 3, please check:
    su and
    sh






    share|improve this answer





























      0














      you must to use the new version of authbind supporting IPV6:
      http://ftp.debian.org/debian/pool/main/a/authbind/



      or



      http://www.filewatcher.com/m/authbind_2.1.1.tar.gz.14407-0.html



      ftp://ftp.debian.com/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz



      tar zxvf /home/.../authbind_2.1.1.tar.gz -C /your/path/
      cd /your/path/authbind-2.1.1
      make
      make install


      About the user and group, the user is not necessary to belong to root group...



      useradd -r -c "Httpd User" -s /sbin/nologin httpd
      chown -hR httpd: /usr/local/httpd/


      Now, the autho



      touch /etc/authbind/byport/80
      chown httpd: /etc/authbind/byport/80
      chmod 755 /etc/authbind/byport/80


      Answer 1



      I have seen several tutorials Authbind for CentOS, RHEL and Fedora, for some reason... works, then the answer is Yes...



      Answer 2



      starting the server try this in your script:



      /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl start"


      or



      /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl start"


      stoping the server try this in your script:



      /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl stop"


      or



      /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl stop"


      Answer 3



      About of your Question 3, please check:
      su and
      sh






      share|improve this answer



























        0












        0








        0







        you must to use the new version of authbind supporting IPV6:
        http://ftp.debian.org/debian/pool/main/a/authbind/



        or



        http://www.filewatcher.com/m/authbind_2.1.1.tar.gz.14407-0.html



        ftp://ftp.debian.com/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz



        tar zxvf /home/.../authbind_2.1.1.tar.gz -C /your/path/
        cd /your/path/authbind-2.1.1
        make
        make install


        About the user and group, the user is not necessary to belong to root group...



        useradd -r -c "Httpd User" -s /sbin/nologin httpd
        chown -hR httpd: /usr/local/httpd/


        Now, the autho



        touch /etc/authbind/byport/80
        chown httpd: /etc/authbind/byport/80
        chmod 755 /etc/authbind/byport/80


        Answer 1



        I have seen several tutorials Authbind for CentOS, RHEL and Fedora, for some reason... works, then the answer is Yes...



        Answer 2



        starting the server try this in your script:



        /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl start"


        or



        /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl start"


        stoping the server try this in your script:



        /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl stop"


        or



        /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl stop"


        Answer 3



        About of your Question 3, please check:
        su and
        sh






        share|improve this answer















        you must to use the new version of authbind supporting IPV6:
        http://ftp.debian.org/debian/pool/main/a/authbind/



        or



        http://www.filewatcher.com/m/authbind_2.1.1.tar.gz.14407-0.html



        ftp://ftp.debian.com/debian/pool/main/a/authbind/authbind_2.1.1.tar.gz



        tar zxvf /home/.../authbind_2.1.1.tar.gz -C /your/path/
        cd /your/path/authbind-2.1.1
        make
        make install


        About the user and group, the user is not necessary to belong to root group...



        useradd -r -c "Httpd User" -s /sbin/nologin httpd
        chown -hR httpd: /usr/local/httpd/


        Now, the autho



        touch /etc/authbind/byport/80
        chown httpd: /etc/authbind/byport/80
        chmod 755 /etc/authbind/byport/80


        Answer 1



        I have seen several tutorials Authbind for CentOS, RHEL and Fedora, for some reason... works, then the answer is Yes...



        Answer 2



        starting the server try this in your script:



        /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl start"


        or



        /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl start"


        stoping the server try this in your script:



        /bin/su -p -s /bin/sh httpd -c "/usr/local/bin/authbind /usr/local/httpd/bin/apachectl stop"


        or



        /bin/su -p -s /bin/sh $SERVICE_USER -c "/usr/local/bin/authbind $SERVICE_HOME/bin/apachectl stop"


        Answer 3



        About of your Question 3, please check:
        su and
        sh







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 13 '15 at 4:48

























        answered Jul 13 '15 at 4:42









        chepe luchochepe lucho

        178115




        178115



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f215513%2fstarting-apache-httpd-at-boot-time-with-zero-intervention-centos-and-authbind%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            -apache-httpd, authbind, centos, permissions, startup

            Popular posts from this blog

            Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance

            What was this official D&D 3.5e Lovecraft-flavored rulebook?What was this set of RPG tools called?As a first-time DM should I let my players play complex character classes and roles?Nymph's Kiss and the RelationshipWhat was the name of this Cleric Prestige Class that shapes metal with its bare hands?Are the 3.5e Dragonlance books third party or official works?What's up with the domain Vile Darkness?What was this 80s book about RPGs?What was the name of this Werewolf band?What book had Rituals to “upgrade” animal companions to keep them viable at higher levels?What was this RPG that had rules for player-owned businesses?

            2017 IndyCar Series Contents Series news Teams and drivers Schedule Season summary Footnotes References External links Navigation menu"INDYCAR: Initial 2018 bodywork concepts unveiled"the original"IndyCar confirms switch to Performance Friction brakes in 2017""AJ Foyt Racing will switch to Chevy"the original"Carlos Munoz, Conor Daly will drive for AJ Foyt Racing""Zach Veach's Indy 500 Debut Confirmed with Foyt""No mass exodus from Honda after Ganassi switch""Ex-F1 driver Sato joins Andretti Autosport for 2017 IndyCar season""IndyCar's Ryan Hunter-Reay, sponsor DHL paired through 2020""hhgregg and Andretti Autosport announce partnership for key races in 2016""INDYCAR: Rossi re-signs with Andretti"the original"McLaren Formula 1 - Fernando Alonso to race at Indy 500 with McLaren, Honda and Andretti Autosport""Shank will finally take part in Indy 500 with Harvey, Andretti | MotorSportsTalk""Andretti adds Jack Harvey to Indy 500 field""Ganassi switches to Honda power for 2017""INDYCAR: Chilton returns to Ganassi"the original"IndyCar silly season: Who's going where in 2017?""INDYCAR: Kanaan, NTT Data return to Ganassi"the original"Kimball to remain at Ganassi for 2017""Coyne confirms Bourdais for 2017 IndyCar season""Davison to sub for Bourdais in Indy 500"the original"Gutierrez confirmed for Detroit IndyCar debut""Gutierrez returns with Coyne for rest of 2017 season""Vautier to drive for Coyne at Texas"the original"INDYCAR: Coyne confirms Jones for 2017"the original"Pippa Mann returns to Coyne for Indy 500""Karam, Dreyer & Reinbold teaming up again for Indianapolis 500""Pigot to return to Ed Carpenter Racing""Hildebrand confirmed as full-time Ed Carpenter driver""Veach to replace injured Hildebrand at Barber"the originalNew Team Harding Racing Enters Chaves for 101st Indianapolis 500"Juncos Racing Announces Entry in 101st Running of the Indianapolis 500 :: Juncos Racing""Juncos confirms Pigot for Indy 500""Saavedra confirmed in Juncos' second 500 entry"the original"Lazier confirms Indy 500 run after son's USF2000 debut"the original"Claman DeMelo to race for RLLR at Sonoma"the original"Rahal signs Servia and ace engineer for 2017""IndyCar: Aleshin returns with Schmidt"the original"Aleshin replaced by Saavedra for Toronto""Jack Harvey will pilot SPM No. 7 car at Watkins Glen, Sonoma""Jay Howard confirmed in Tony Stewart's supported SPM Indy entry""INDYCAR: Newgarden to wave the flag at Penske"the original"Pagenaud opts for No. 1 in 2017"the original"Penske confirms Newgarden for 2017""Montoya to stay with Team Penske in 2017""Target leaving IndyCar after 27 seasons with Chip Ganassi""Cavin: IndyCar could see complete driver/team shakeup in 2017""End of the road for KV Racing?""KV Racing confirms closure, equipment sold to Juncos""Juncos confirms IndyCar Series entry"the original"Juncos readies IndyCar program, aims for '17 500"the original"Harding Racing to add Texas, Pocono to schedule"the original"Sato signs with Andretti Autosport for 2017""INDYCAR: Aleshin in Doubt at SPM"the original"Long Beach notebook: JR Hildebrand breaks hand""Hildebrand cleared to return at Phoenix"the original"Bourdais to undergo surgery on multiple fractures""Aleshin loses Schmidt Peterson IndyCar ride""Saavedra in at SPM for Pocono, Gateway"the original"Bourdais to make return at Gateway"the original"The IndyCar Grand Prix no longer is sponsored by Angie's List""2017 IndyCar Series rulebook""2017 Verizon IndyCar Series Official Rulebook"Official websiteeeeee