Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
icecast
icecast-2.3.1_runas_icecast_user.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icecast-2.3.1_runas_icecast_user.patch of Package icecast
--- conf/icecast.xml.in | 12 +++++++++--- conf/icecast_minimal.xml.in | 15 +++++++++++++++ conf/icecast_shoutcast_compat.xml.in | 12 ++++++++++++ conf/icecast_urlauth.xml.in | 12 ++++++++++++ 4 files changed, 48 insertions(+), 3 deletions(-) --- a/conf/icecast_shoutcast_compat.xml.in +++ b/conf/icecast_shoutcast_compat.xml.in @@ -44,5 +44,17 @@ </logging> <security> <chroot>0</chroot> + <!-- + Note from the packager: + For security reasons you should not run the icecast server as root. + SUSE adds a icecast user and group for this purpose. + + If you change the user/group here you need to change the ownership + of the @localstatedir@/log/@PACKAGE@ aswell + --> + <changeowner> + <user>icecast</user> + <group>icecast</group> + </changeowner> </security> </icecast> --- a/conf/icecast_urlauth.xml.in +++ b/conf/icecast_urlauth.xml.in @@ -43,5 +43,17 @@ </logging> <security> <chroot>0</chroot> + <!-- + Note from the packager: + For security reasons you should not run the icecast server as root. + SUSE adds a icecast user and group for this purpose. + + If you change the user/group here you need to change the ownership + of the @localstatedir@/log/@PACKAGE@ aswell + --> + <changeowner> + <user>icecast</user> + <group>icecast</group> + </changeowner> </security> </icecast> --- a/conf/icecast.xml.in +++ b/conf/icecast.xml.in @@ -235,10 +235,16 @@ <security> <chroot>0</chroot> <!-- + Note from the packager: + For security reasons you should not run the icecast server as root. + SUSE adds a icecast user and group for this purpose. + + If you change the user/group here you need to change the ownership + of the @localstatedir@/log/@PACKAGE@ aswell + --> <changeowner> - <user>nobody</user> - <group>nogroup</group> + <user>icecast</user> + <group>icecast</group> </changeowner> - --> </security> </icecast> --- a/conf/icecast_minimal.xml.in +++ b/conf/icecast_minimal.xml.in @@ -33,6 +33,21 @@ <errorlog>error.log</errorlog> <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> </logging> + <security> + <chroot>0</chroot> + <!-- + Note from the packager: + For security reasons you should not run the icecast server as root. + SUSE adds a icecast user and group for this purpose. + + If you change the user/group here you need to change the ownership + of the @localstatedir@/log/@PACKAGE@ aswell + --> + <changeowner> + <user>icecast</user> + <group>icecast</group> + </changeowner> + </security> <http-headers> <header name="Access-Control-Allow-Origin" value="*" /> </http-headers>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor