Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: FTP and mysql
PostPosted: Sun Mar 20, 2005 4:59 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
Is there some ftp (hopefully proftpd cause thats what im already using) or some other secure and common ftp server, that i can make authenicate via mysql and work ou what directory they have access to from that?

Cheers
NF


Top
   
 Post subject:
PostPosted: Sun Mar 20, 2005 7:26 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
This ProFTPD plug-in looks like it might suit your needs

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Mar 23, 2005 1:24 am 
Offline
Senior Newbie

Joined: Fri Feb 18, 2005 7:36 am
Posts: 7
Location: Morgantown, WV
I use sftp via openssh on my box.

I host a number of sites for friends, and the admin work is starting to get annoying ... so it's time to automate my virtual hosting.

I think I am going to install pam-mysql so that all PAM aware apps can use my master user table.

If ProFTPD utilizes PAM, that may be another option.


Top
   
 Post subject: proftpd-mysql
PostPosted: Mon May 09, 2005 12:35 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
that mod looks rad, the only things about it is im not sure how the userid/groupid work in it, because wont i have to give them valid ids for the machine? which i thought was the point of NOT having proper accounts and having eveyrthing done via mysql, so that i didnt have to have them having group/user ids on the machine.. unless im missing something completley here

any help would be appreciated

cheers
Nathan


Top
   
 Post subject:
PostPosted: Mon May 09, 2005 3:43 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
Actually, my co-worker has made a tutorial for this over at the Gentoo Forums:

Proftpd 1.2.10 with mysql authentication, software qouta, traffic shaper and SSL


Top
   
 Post subject:
PostPosted: Thu May 12, 2005 5:45 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
thats rad, thanks for that.
im still not quite sure how the groups would work inside of it tho? do i just alocate a section of group ids to put asside for ftp group users or..?
cheers
Nathan


Top
   
 Post subject:
PostPosted: Thu May 12, 2005 5:46 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
also on that note, do i have to put normal system users into the mysql table as well or will proftpd already deal with them?


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2005 1:55 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
anyone know if it is possible to make an easy way of enabling/disabling accounts with this setup, like just adding an extra field to the database and making postfix send a quiery with AND field is true or something like that?

is that even feesable?

cheers
Nathan "Internat" Frankish


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2005 9:27 am 
Offline
Junior Member

Joined: Thu Apr 21, 2005 12:41 pm
Posts: 43
Website: http://www.jamesl.info
WLM: sipherx@gmail.com
Yahoo Messenger: sipherx598
AOL: sipherx1023
Location: Florida
You could use something like vsftpd and then chroot all local users to their virtual home directories.

_________________
James Lenhart.


Top
   
 Post subject:
PostPosted: Fri Jun 24, 2005 9:40 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
well i have postfix working with mysql for authentication and everything is rad, cept taht quotas arent working..stupid pos not sure whats oging on there.. something just seems slightly fubar.. going to redo it all from scratch.. and then document everyhrting i did so that i can do it again.. umm yeah.. i was thinking about how to make it so that peopls accounts are enabled/disabled and i think i can just add to the login thing where accountstatusfield=1 kinda thing cause then obviously its going to not return if there account is disabled.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group