Re: proftp or wu-ftp?
On Wed, Sep 03, 2003 at 01:26:20PM -0700, Curtis Vaughan wrote: I need to set up an ftp server. I've looked at wu-ftp and a little at proftp. I'm wondering what people find to be the better, and easiest to set up. wu-ftpd has a history of security holes. Not recommended. I use proftpd myself, although with MySQL and not LDAP as you want it. -- Danie Roux *shuffle* Adore Unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Wednesday, September 03, 2003 10:26 PM CET, Curtis Vaughan wrote: I need to set up an ftp server. I've looked at wu-ftp and a little at proftp. I'm wondering what people find to be the better, and easiest to set up. I'm still before the question of which FTP server to use. But could 'PureFTPd' be a further option to this question? I have just heard of it, I haven't installed any of them yet. -- Yves Goergen [EMAIL PROTECTED] Please don't CC me (causes double mails) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Wed, 2003-09-03 at 16:26, Curtis Vaughan wrote: [...] Right now I need to set up an ftp site that authenticated users can only access in order to download files. Authentication in our network is provided by LDAP w/PAM. I see that proftp has an LDAP package, which I have installed right now. So, it seems at first the better. Ultimately, we may be setting up additional Virtual hosts. You don't need to use a separate LDAP package, proftp uses pam for authentication, just twiddle your /etc/pam.d/proftpd -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
Ryan do you or does anyone have any instructions for a dim-wit like myself on how to set up proftp. I've got it installed and kind of operating, but how do I make it default to /home/ftp whenever ANYONE logs in. Curtis On Wednesday, Sep 3, 2003, at 20:50 US/Pacific, Ryan Nowakowski wrote: On Wed, Sep 03, 2003 at 01:26:20PM -0700, Curtis Vaughan wrote: I need to set up an ftp server. I've looked at wu-ftp and a little at proftp. I'm wondering what people find to be the better, and easiest to set up. Actually, I'm having trouble setting either up. But let me tell you what I want to do. Right now I need to set up an ftp site that authenticated users can only access in order to download files. Authentication in our network is provided by LDAP w/PAM. I see that proftp has an LDAP package, which I have installed right now. So, it seems at first the better. Ultimately, we may be setting up additional Virtual hosts. I use proftpd and find it to be very flexible. It takes a little time setting it up but works great. -- Ryan Nowakowski Computer Support for Small Business and Individuals http://austincomputersupport.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Thu, Sep 04, 2003 at 01:37:18PM -0700, Curtis Vaughan wrote: Ryan do you or does anyone have any instructions for a dim-wit like myself on how to set up proftp. I've got it installed and kind of operating, but how do I make it default to /home/ftp whenever ANYONE logs in. Hrmmm. I don't know of a howto or anything like that. I just went and looked at the proftpd example configs[1]. [1] http://proftpd.linux.co.uk/docs/example-conf.html -- Ryan Nowakowski Computer Support for Small Business and Individuals http://austincomputersupport.com pgp0.pgp Description: PGP signature
Re: proftp or wu-ftp?
After editing /etc/pam.d/proftpd do I need to restart proftp? It doesn't seem to work: i.e., for whatever reason I am the only one allowed to log in. I can't log in under any other user period. Now, this may be due to the fact that I have a home directory on this server, no one else does. Curtis On Thursday, Sep 4, 2003, at 06:45 US/Pacific, Mark Roach wrote: On Wed, 2003-09-03 at 16:26, Curtis Vaughan wrote: [...] Right now I need to set up an ftp site that authenticated users can only access in order to download files. Authentication in our network is provided by LDAP w/PAM. I see that proftp has an LDAP package, which I have installed right now. So, it seems at first the better. Ultimately, we may be setting up additional Virtual hosts. You don't need to use a separate LDAP package, proftp uses pam for authentication, just twiddle your /etc/pam.d/proftpd -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Thu, 2003-09-04 at 17:25, Curtis Vaughan wrote: After editing /etc/pam.d/proftpd do I need to restart proftp? No It doesn't seem to work: i.e., for whatever reason I am the only one allowed to log in. I can't log in under any other user period. Now, this may be due to the fact that I have a home directory on this server, no one else does. It could be, I know that proftpd will allow you to chroot ftp sessions to the user's home dir. I think you have to do that on purpose though. Have you tested your pam_ldap setup with other services to make sure it is correct? I think the default setup requires the user to have a valid shell (listed in /etc/shells) did you check that? What does getent passwd username show for a user who can't log on. Also, make sure that AuthPAM on is in your config file. As for the default path for users to see (mentioned in another message) I believe that all you need is a section like this: DefaultRoot /home/ftp or whatever path. It sounds like you really need to take a few minutes to go through the manpage for proftpd.conf to get a general overview of the options before you start trying to wrangle the config file. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
Got it working just before I got the replies. Actually, I found a how-to dealing with a OSX server, which pointed me in the right direction. Seems to be working now. Thanks! Curtis On Thursday, Sep 4, 2003, at 14:40 US/Pacific, Mark Roach wrote: On Thu, 2003-09-04 at 17:25, Curtis Vaughan wrote: After editing /etc/pam.d/proftpd do I need to restart proftp? No It doesn't seem to work: i.e., for whatever reason I am the only one allowed to log in. I can't log in under any other user period. Now, this may be due to the fact that I have a home directory on this server, no one else does. It could be, I know that proftpd will allow you to chroot ftp sessions to the user's home dir. I think you have to do that on purpose though. Have you tested your pam_ldap setup with other services to make sure it is correct? I think the default setup requires the user to have a valid shell (listed in /etc/shells) did you check that? What does getent passwd username show for a user who can't log on. Also, make sure that AuthPAM on is in your config file. As for the default path for users to see (mentioned in another message) I believe that all you need is a section like this: DefaultRoot /home/ftp or whatever path. It sounds like you really need to take a few minutes to go through the manpage for proftpd.conf to get a general overview of the options before you start trying to wrangle the config file. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proftp or wu-ftp?
On Wed, Sep 03, 2003 at 01:26:20PM -0700, Curtis Vaughan wrote: I need to set up an ftp server. I've looked at wu-ftp and a little at proftp. I'm wondering what people find to be the better, and easiest to set up. Actually, I'm having trouble setting either up. But let me tell you what I want to do. Right now I need to set up an ftp site that authenticated users can only access in order to download files. Authentication in our network is provided by LDAP w/PAM. I see that proftp has an LDAP package, which I have installed right now. So, it seems at first the better. Ultimately, we may be setting up additional Virtual hosts. I use proftpd and find it to be very flexible. It takes a little time setting it up but works great. -- Ryan Nowakowski Computer Support for Small Business and Individuals http://austincomputersupport.com pgp0.pgp Description: PGP signature