Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th July 2007, 00:20
Spreech Spreech is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch

Hi @ all,

first of all I want to say a big THANKS to the author of the HOW TO!
It is really great!

I have on question.

I have done the following instructions:

groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser

And I have also added the testuser into the database.

But now I mentioned that it is possible to login for users who are not in the group 2001, too.

Is that normal?
If this is normal, how can I get it, that not every user can login via ftp?

Thanks a lot in advance for your help.

Manuel
Reply With Quote
Sponsored Links
  #2  
Old 29th July 2007, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Spreech
But now I mentioned that it is possible to login for users who are not in the group 2001, too.

Is that normal?
If this is normal, how can I get it, that not every user can login via ftp?
This setup is about virtual users, not system users. Virtual users aren't members of any group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th July 2007, 16:19
Spreech Spreech is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks for your reply Falko.

Do you know if there is any option to disable login for some users?

My idea is to grant only members of the mysql database access to ftp.

Manuel
Reply With Quote
  #4  
Old 30th July 2007, 18:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Spreech
Do you know if there is any option to disable login for some users?
Yes, give your system users a shell that is not listed in /etc/shells (e.g. /bin/false).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 31st July 2007, 20:21
Spreech Spreech is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

thanks for your reply falko.

I found another solution:

you can add the following line into the proftpd.conf file:

<Limit LOGIN>

AllowUser ftpuser

AllowGroup ftpgroup

DenyAll

</Limit>

Regards

Manuel
Reply With Quote
The Following User Says Thank You to Spreech For This Useful Post:
falko (1st August 2007)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting With Proftpd And MySQL (Incl. Quota) pontifex HOWTO-Related Questions 56 22nd June 2007 14:29
Virtual Hosting With Proftpd And MySQL (Incl. Quota) miguellamerz HOWTO-Related Questions 3 18th October 2006 02:39
SECRUTIY issue with Virtual hosting with Proftpd & Mysql snowfly HOWTO-Related Questions 4 9th July 2006 05:50
Virtual Hosting With Proftpd And MySQL Problems bigredgecko HOWTO-Related Questions 1 7th July 2006 13:56
Virtual Hosting With Proftpd And MySQL (Incl. Quota) Secure? ToysunStory HOWTO-Related Questions 1 9th May 2006 01:03


All times are GMT +2. The time now is 18:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.