View previous topic :: View next topic |
Author |
Message |
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Tue May 10, 2005 9:39 pm Post subject: ProFTPD and user restrictions |
|
|
Where would I configure ProFTPD to only allow a certain user access to a certain directory? _________________ /* BoBB
* AIM: Jodokast49 ICQ: 151495596
* http://irgeek.net/
*/ |
|
Back to top |
|
|
dellaxim Tux's lil' helper
Joined: 04 Mar 2005 Posts: 138
|
Posted: Tue May 10, 2005 10:39 pm Post subject: |
|
|
I dont have a general way to do but i have one way to do with each account.
You can restrict them by creating .ftpaccess in /home
Code: | AllowRetrieveRestart off
AllowStoreRestart off
DeleteAbortedStores off
DenyAll
AllowOverwrite off |
but that will restrict them even on their own folder so you have to create another .ftpaccess file in the folder you want to grant them access
Code: |
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores on
[b]UserOwner dellaxim[/b]
|
remember to add
hope that help |
|
Back to top |
|
|
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Tue May 10, 2005 10:42 pm Post subject: |
|
|
This user doesnt have a home directory so that doesnt really work for this situation. _________________ /* BoBB
* AIM: Jodokast49 ICQ: 151495596
* http://irgeek.net/
*/ |
|
Back to top |
|
|
dellaxim Tux's lil' helper
Joined: 04 Mar 2005 Posts: 138
|
Posted: Wed May 11, 2005 9:02 am Post subject: |
|
|
well, then you put the .ftpaccess of /home to the parent directory you want the user to use
and then put the second .ftpaccess in the folder you want to grant privilledge to that user. It should work fine. Make sure u set the attribute right if you just want that user to view (not modify) the directory.
|
|
Back to top |
|
|
|