From 8c98a2a1baa0dac76b3ff6a072954eb146bb2cf2 Mon Sep 17 00:00:00 2001 From: fredrik Date: Wed, 11 Apr 2007 14:53:51 +0000 Subject: [PATCH] Better default configuration. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@899 959494ce-11ee-0310-bf91-de5d638817bd --- config/doldacond.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/config/doldacond.conf b/config/doldacond.conf index ab860dc..2f4d641 100644 --- a/config/doldacond.conf +++ b/config/doldacond.conf @@ -49,8 +49,13 @@ share Music /home/pub/audio # all - Equivalent of specifying all the above permissions, including disallow # A minus sign preceding a privilege specification revokes that privilege (or, for "all", revokes all privileges, _including_ "disallow"). # The privileges are scanned from left to right, so "all -disallow" is not the same as "-disallow all". - -# In this default configuration, the user called "youruser" (that is, change it), -# has all privileges except, of course, "disallow", and all other users are disallowed from logging in. -user default disallow -user youruser all -disallow +# +# By default, if the daemon is not running as root, it will allow the +# user as which it is running, and noone else. If that matches your +# setup, there is no need to add any user directives. +# +# If, on the other hand, you run your daemon as root, use the +# following template and add the users you want with the privileges +# you want. +#user default disallow +#user youruser all -disallow -- 2.11.0