Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a6e981c0
Commit
a6e981c0
authored
Dec 20, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: clarify "user" setting (starting as root / unprivileged)
The "user" option does not work if MPD is started by an unprivileged user.
parent
bfaaf425
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
mpd.conf.5
doc/mpd.conf.5
+4
-1
mpdconf.example
doc/mpdconf.example
+4
-4
No files found.
doc/mpd.conf.5
View file @
a6e981c0
...
@@ -66,7 +66,10 @@ the "kill" command. When mpd is restarted, it will read the state file and
...
@@ -66,7 +66,10 @@ the "kill" command. When mpd is restarted, it will read the state file and
restore the state of mpd (including the playlist).
restore the state of mpd (including the playlist).
.TP
.TP
.B user <username>
.B user <username>
This specifies the user that mpd will run as, if set.
This specifies the user that MPD will run as, if set. MPD should
never run as root, and you may use this option to make MPD change its
user id after initialization. Do not use this option if you start MPD
as an unprivileged user.
.TP
.TP
.B bind_to_address <ip address or hostname or any>
.B bind_to_address <ip address or hostname or any>
This specifies which address mpd binds to and listens on. Multiple
This specifies which address mpd binds to and listens on. Multiple
...
...
doc/mpdconf.example
View file @
a6e981c0
...
@@ -30,10 +30,10 @@ error_file "~/.mpd/mpd.error"
...
@@ -30,10 +30,10 @@ error_file "~/.mpd/mpd.error"
######################## DAEMON OPTIONS ########################
######################## DAEMON OPTIONS ########################
#
#
#
If started as root, MPD will drop root privileges and run as
#
This specifies the user that MPD will run as, if set. MPD should
#
this user instead. Otherwise, MPD will run as the user it was
#
never run as root, and you may use this option to make MPD change
#
started by. If left unspecified, MPD will not drop root
#
its user id after initialization. Do not use this option if you
#
privileges at all (not recommended)
.
#
start MPD as an unprivileged user
.
#
#
#user "nobody"
#user "nobody"
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment