Re: [users@httpd] Running http under a regular user id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/31/06, KURUGANTI, LAKSHMI, INFOT <kuruganti@xxxxxxx> wrote:


All,

We installed apache 2.0.59.Our requirement is to start/stop this server
using a regular id other than root.We changed the installation directory
permissions and also set the User and Group in httpd.conf to the required
user and group permissions , but still we can't get it start/stop by regular
user.It works fine with root id.

Error we are seeing is "(13)Permission denied: mod_weblogic: could not
create lock
Configuration Failed"

If you run your server on the standard port (80; or, in fact, any port
below 1024), then you must have root permissions to start it.  This is
a basic unix permissions constraint and has nothing to do with apache
in particular.  It also appears in your case that mod_weblogic has a
separate need for root permissions someplace; I don't anything about
that.

If you need to start apache httpd from non-root and still use port 80,
you can try using sudo.  But be aware that the apache configuration is
flexible enough that anyone allowed to monkey with it can probably
obtain root on the system if apache is started as root.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux