On 9/8/06, Pierre van Rooden <[EMAIL PROTECTED]> wrote:
It's purpose is to change the user of the application running MMBase after it has started.
This is necessary on Unix platforms since only root can bind to port 80.
Most adminstrators don't want to run the application as root. With this code the application starts
as root and changes to another user after binding to port 80.
More common used solutions these days is to use either apache or squid as a front on port 80
and run the application on 8080 or another high port. Both apache and squid contain similar code to this
code to accomplish the userid change.
I for one don't see a reason anymore why MMBase should have this code. I consider it the reponsibility
of the Application Server to solve this problem not MMBase.
Removing the code is fine by me.
MMBase has a rather typical bit of code that can be used to change
user/group settings on a Solaris/Linux system.
It uses native code, in the org.mmbase.util.platform package.
I am not entirely user if this code is actually, ever, used, or what
it's purpose is. The README file says:
It's purpose is to change the user of the application running MMBase after it has started.
This is necessary on Unix platforms since only root can bind to port 80.
Most adminstrators don't want to run the application as root. With this code the application starts
as root and changes to another user after binding to port 80.
More common used solutions these days is to use either apache or squid as a front on port 80
and run the application on 8080 or another high port. Both apache and squid contain similar code to this
code to accomplish the userid change.
I for one don't see a reason anymore why MMBase should have this code. I consider it the reponsibility
of the Application Server to solve this problem not MMBase.
Removing the code is fine by me.
--
Rico Jansen ([EMAIL PROTECTED])
"You call it untidy, I call it LRU ordered" -- Daniel Barlow
_______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
