Results 1 to 1 of 1
Hi Everyone
I have configured my proftpd config file with the following requirements.
1. Users who login are automatically taken to their home directory.
2. Users cannot change to another ...
- 09-20-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 1
proftpd config help
Hi Everyone
I have configured my proftpd config file with the following requirements.
1. Users who login are automatically taken to their home directory.
2. Users cannot change to another directory (level up).
2. Users can view/read/write files.
3. Users cannot delete any files.
4. Users cannot overwrite any files.
The config file works as required. The only other thing I want to be able to do is with a user named admin, be able to delete files. I added the line
AllowUser admin
below <Limit DELE> but all this lets me do is delete files from the admin's home directory only, even though I can browse to other home directories.
Can anyone help or have any ideas.
ServerName "ProFTPD"
ServerType inetd
DeferWelcome off
DefaultServer on
DefaultRoot / wheel
DefaultRoot ~ !wheel
#DefaultRoot /home !wheel
# begin global -- do not delete
MaxClients 25
# end global -- do not delete
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
<Directory /home/users/>
AllowOverwrite off
<Limit DELE>
DenyAll
</Limit>
</Directory>


Reply With Quote
