Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ProFTPD and user restrictions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Tue May 10, 2005 9:39 pm    Post subject: ProFTPD and user restrictions Reply with quote

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
View user's profile Send private message
dellaxim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 138

PostPosted: Tue May 10, 2005 10:39 pm    Post subject: Reply with quote

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
Code:

User Owner xxxx


hope that help
Back to top
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Tue May 10, 2005 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
dellaxim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 138

PostPosted: Wed May 11, 2005 9:02 am    Post subject: Reply with quote

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.

:wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum