aboutsummaryrefslogtreecommitdiff
path: root/tags/0.5/templates/vserver/vserver.d/etc/rssh.conf
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-07-13 16:28:05 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-07-13 16:28:05 +0000
commitbc402596d91bf4a743f9892840e10f360652ba8a (patch)
treefc808b0691ca0ddea68a14e3cacb44d4299655ae /tags/0.5/templates/vserver/vserver.d/etc/rssh.conf
parentef49517418cd469582a85250bedbdf07f3964ccd (diff)
downloadsimplepkg-bc402596d91bf4a743f9892840e10f360652ba8a.tar.gz
simplepkg-bc402596d91bf4a743f9892840e10f360652ba8a.tar.bz2
tagged trunk/ rev. 400 as simplepkg 0.5
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@401 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'tags/0.5/templates/vserver/vserver.d/etc/rssh.conf')
-rw-r--r--tags/0.5/templates/vserver/vserver.d/etc/rssh.conf48
1 files changed, 48 insertions, 0 deletions
diff --git a/tags/0.5/templates/vserver/vserver.d/etc/rssh.conf b/tags/0.5/templates/vserver/vserver.d/etc/rssh.conf
new file mode 100644
index 0000000..a74acc6
--- /dev/null
+++ b/tags/0.5/templates/vserver/vserver.d/etc/rssh.conf
@@ -0,0 +1,48 @@
+# This is the default rssh config file
+
+# set the log facility. "LOG_USER" and "user" are equivalent.
+logfacility = LOG_USER
+
+# Leave these all commented out to make the default action for rssh to lock
+# users out completely...
+
+allowscp
+allowsftp
+#allowcvs
+#allowrdist
+#allowrsync
+
+# set the default umask
+umask = 022
+
+# If you want to chroot users, use this to set the directory where the root of
+# the chroot jail will be located.
+#
+# if you DO NOT want to chroot users, LEAVE THIS COMMENTED OUT.
+# You can quote anywhere, but quotes not required unless path contains a
+# space... as in this example.
+
+chrootpath = "/var/users"
+
+##########################################
+# EXAMPLES of configuring per-user options
+
+#user=rudy:077:00010: # the path can simply be left out to not chroot
+#user=rudy:077:00010 # the ending colon is optional
+
+#spaces in the path must be quoted...
+#user=rudy:011:00001:"/usr/local/chroot dir" # scp with chroot
+#user=rudy:011:00010:"/usr/local/chroot dir" # sftp with chroot
+#user=rudy:011:00011:"/usr/local/chroot dir" # both with chroot
+#user=rudy:011:00100: # cvs, with no chroot
+#user=rudy:011:01000: # rdist, with no chroot
+#user=rudy:011:10000: # rsync, with no chroot
+#user="rudy:011:00001:/usr/local/chroot" # whole user string can be quoted
+#user=rudy:01"1:00001:/usr/local/chroot" # or somewhere in the middle, freak!
+#user=rudy:'011:00001:/usr/local/chroot' # single quotes too
+
+# Spaces before or after the '=' are fine, but spaces in chrootpath need
+# quotes.
+#user = "rudy:011:00001:/usr/local/chroot dir"
+#user = "rudy:011:00001:/usr/local/chroot dir" # neither do comments at line end
+