Hi all,
is it possible to securely run the server on port 80 ?

I'd prefer not to have to remember (and get my family to remember) the
port number.

I know that this used to mean running things as root 

But setcap utilities can now allow non-root users to bind to low
numbered port on specific binaries 

as per this example from apache (which I cant link to as this is my
first post here)

cwiki.apache.org/confluence/display/HTTPD/NonRootPortBinding

I've used this successfully for compiled work where it's easy enough to
run setcap on the resultant binary 

I'm not quite sure if it works the same for perl 

I have tried 


Code:
--------------------
    sudo setcap cap_net_bind_service=+ep /usr/sbin/squeezeboxserver
--------------------


But I'm not sure where the port is specified in the server code - I cant
see it in config 

/usr/share/perl5/Slim/Utils/Prefs.pm has a line 'httpport'             
=> 9000,

But editing this doesn't seem to do what I want.

So questions : 

1) Is trying to run the service on port 80 a bad idea for any reason 

2) Am I editing in teh right place - or what do I need to do to change
9000 to port 80 

Thanks

(I've been running this system for a decade or so but never tried to
tinker before - Perl isn't really my thing - but web dev is)


------------------------------------------------------------------------
SeanBurlington's Profile: http://forums.slimdevices.com/member.php?userid=70806
View this thread: http://forums.slimdevices.com/showthread.php?t=113093

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to