############################################# # # /path/to/rssh/config/rssh.conf # # Configuration file for SSH Restricted Shell (rssh) v2.3.2 # # Change Log: # Who When What # ---- ---------- ------------------------------------ # ############################################# ########### # Logging # ########### # Set the log facility # Default is LOG_USER # The syntax "LOG_USER" and "user" are equivalent (both # will log to Facility USER) # Can be any valid Facility logfacility = LOG_AUTHPRIV ################### # Global Defaults # ################### # Sets defaults for all users who do not have a Per-User entry below # If a line is commented, the activity is disabled # Secure CoPy #allowscp # Secure FTP #allowsftp # CVS code management #allowcvs # rdist #allowrdist # rsync #allowrsync ######### # UMASK # ######### # Specify the default umask for all users who do not have a Per-User # entry below # Requires octal notation umask = 077 ########## # Chroot # ########## # 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. # chrootpath = /usr/local/chroot # You can quote anywhere, but quotes not required unless the path contains a # space... as in this example. #chrootpath = "/usr/local/my chroot" ################################# # Per-User Confguration Options # ################################# # Format: # user=::: # # where # # is the name as it appears in /etc/passwd (not the numeric) # is the octal-notated file creation mask # are either 0 or 1 and correspond, in order, to # rsync, rdist, cvs, sftp and scp # is not required and specifies a path to chroot the # user to # # The final colon is required only if a chroot path is specified # From the supplied file: # 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 #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 # if your chroot_path contains spaces, it must be quoted... # In the following examples, the chroot_path is "/usr/local/my chroot" #user=rudy:011:00001:"/usr/local/my chroot" # scp with chroot #user=rudy:011:00010:"/usr/local/my chroot" # sftp with chroot #user=rudy:011:00011:"/usr/local/my chroot" # both with chroot # Spaces before or after the '=' are fine, but spaces in chrootpath need # quotes. #user = "rudy:011:00001:/usr/local/my chroot" #user = "rudy:011:00001:/usr/local/my chroot" # neither do comments at line end ########################################### ## End of /path/to/rssh/config/rssh.conf ## ###########################################