|
-
Oct 29th, 2008, 06:37 AM
#1
Thread Starter
Junior Member
/opt/web/bin/apachectl start without login as root
/opt/web/bin/apachectl start
without login as root or without sudo
on kubuntu 7.04
thank you.
-
Oct 29th, 2008, 06:45 AM
#2
Re: /opt/web/bin/apachectl start without login as root
-
Oct 29th, 2008, 08:23 AM
#3
Re: /opt/web/bin/apachectl start without login as root
I think the question is how to autostart apachectl.
The following should work:
1. copy apachectl from apache's /bin directory to /etc/init.d
2. sudo chmod +x /etc/init.d/apachectl
3. sudo update-rc.d apachectl defaults
-
Oct 29th, 2008, 09:30 AM
#4
Re: /opt/web/bin/apachectl start without login as root
If you want apache to run as a non root user then you should change the port is listens on to a number greater than 1024 and remove the user and group configuration options from httpd.conf.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|