Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  How to run Yaws on 80/443 under Solaris

Guest
Posted: Mon Feb 12, 2007 11:42 pm Reply with quote
Guest
Maybe this saves some one a little research time ..

Assuming you want to run Yaws/SSL under a non-root user "erlang"
on ports 80/443.

On Solaris >=8 you can do that easily by granting the specific right
to bind privileged ports <1024 (and only that) to "erlang" using:

$ /usr/sbin/usermod -K defaultpriv=basic,net_privaddr erlang

.. and check ..

$ grep erlang /etc/user_attr
erlang::::type=normal;defaultpriv=basic,net_privaddr

Solaris rocks ..
Tobias

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Tue Feb 13, 2007 9:30 am Reply with quote
Guest
Tobias Oberstein wrote:
> Maybe this saves some one a little research time ..
>
> Assuming you want to run Yaws/SSL under a non-root user "erlang"
> on ports 80/443.

Excellent - I added it to the wiki. It seems to me that this feature is
sorely missing in Linux. It really ought to be possible to do this
with e.g. capabilities without touching the source code.

> Solaris rocks ..
> Tobias

Sure Smile


/klacke


--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
noss
Posted: Tue Feb 13, 2007 12:28 pm Reply with quote
User Joined: 09 Oct 2005 Posts: 290
On 2/13/07, Claes Wikstr
View user's profile Send private message
Guest
Posted: Tue Feb 13, 2007 12:49 pm Reply with quote
Guest
Christian S wrote:
> On 2/13/07, Claes Wikstr
Guest
Posted: Tue Feb 13, 2007 1:15 pm Reply with quote
Guest
Claes Wikstr

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum