add priv dropping

This commit is contained in:
Ron Pedde
2003-12-29 23:39:18 +00:00
parent 54a22bfee4
commit ad6a6b3d5e
8 changed files with 129 additions and 12 deletions

View File

@@ -9,7 +9,7 @@
# Location of the admin web pages. This should be correct
#
web_root /usr/share/mt-daapd/admin-root
web_root /home/ron/working/mt-daapd/admin-root
#
# port (required)
@@ -46,6 +46,18 @@ mp3_dir /mnt/mp3
servername mt-daapd
#
# runas (required)
#
# This is the user to drop privs to if running as
# root. If mt-daapd is not started as root, this
# configuration option is ignored. Notice that this
# must be specified whether the server is running
# as root or not.
#
runas nobody
#
# playlist (optional)
#
@@ -59,7 +71,7 @@ servername mt-daapd
# specified
#
playlist /etc/mt-daapd.playlist
playlist /home/ron/mt-daapd.playlist
#
# password (optional)
@@ -68,4 +80,7 @@ playlist /etc/mt-daapd.playlist
# i.e. the password that iTunes prompts for
#
#password mp3
#password mp3