Better default configuration.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 11 Apr 2007 14:53:51 +0000 (14:53 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 11 Apr 2007 14:53:51 +0000 (14:53 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@899 959494ce-11ee-0310-bf91-de5d638817bd

config/doldacond.conf

index ab860dc..2f4d641 100644 (file)
@@ -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