ronald,
make use of the DefaultRoot Directive. below's just an example: ... <VirtualHost myhost.mynet.foo> DefaultRoot ~ ... </VirtualHost> This creates a configuration where all users who log into myhost.mynet.foo are jailed into their home directories (cannot chdir into a higher level directory). Alternatively, you could: ... <VirtualHost myhost.mynet.foo> DefaultRoot /u2/public users,!staff ... </VirtualHost> In this example, all users who are members of group "users", but not members of group "staff" are jailed into /u2/public. If a user does not meet the group-expression requirements, they login as per normal (not jailed, default directory is their home). You can use multiple DefaultRoot directives to create multiple jails inside the same directive context. If two DefaultRoot directives apply to the same user, ProFTPD arbitrarily chooses one (based on how the configuration file was parsed). janjan ------------------------------------ Gene Frederick F. Boniel Manager - Network Operation Center Virtual Communications, Inc. Rm. 202 K&J Bldg. Llorente St. Brgy. Capitol Site, Cebu City Philippines 6000 E-mail : [EMAIL PROTECTED] Mobile : +63 916 3423122 Office : +63 032 2541954 On Mon, 18 Feb 2002, Ronald Chan wrote: > To All Fellow [Pluggers] > > How Do i limit a certain folder to access of those ftp users on Proftpd > any idea please, Thanks in advance!!! > > > > Ronald Chan > > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to >[EMAIL PROTECTED] > _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
