Changes

From SME Server
Jump to navigationJump to search
523 bytes added ,  22:28, 14 October 2013
Line 75: Line 75:     
you can chroot users in their home if you do not want they can see folder they don't own. For that you can install the [[Remoteuseraccess|remote-user-access contribs]]
 
you can chroot users in their home if you do not want they can see folder they don't own. For that you can install the [[Remoteuseraccess|remote-user-access contribs]]
 +
 +
see [[Remoteuseraccess#Global_Settings]] if the contribs is already installed
 +
 +
You can globally set FTP chroot with the following
 +
 +
You can chroot all users to their home directory with the command.
 +
config setprop ftp ChrootDir home
 +
 +
or an ibay (where the ibay name is mission)
 +
config setprop ftp ChrootDir mission
 +
 +
or anywhere on the filesystem ibay
 +
config setprop ftp ChrootDir /opt
 +
 +
to return to default settings of /home/e-smith/files/
 +
config delprop ftp ChrootDir
 +
 +
then enable
 +
expand-template /etc/proftpd.conf
    
=== known problems and bugs ====
 
=== known problems and bugs ====

Navigation menu