[newbie] FTP Login
How would I create an FTP only ID, with no home directory. a generic with read only access. I currently have a username and password on the system and I am using that, but that doesn't sound very safe, the more I think about it. I would like someone to log in and be dumped into the /var/ftp directory with read only rights and no browsing higher than the /var/ftp directory but with total read rights down. Zane Minninger Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] FTP Login
On Sun, 19 Jan 2003 19:59:21 -0600 Zane Minninger [EMAIL PROTECTED] wrote: How would I create an FTP only ID, with no home directory. a generic with read only access. I currently have a username and password on the system and I am using that, but that doesn't sound very safe, the more I think about it. I would like someone to log in and be dumped into the /var/ftp directory with read only rights and no browsing higher than the /var/ftp directory but with total read rights down. Zane Minninger Just create user as normal, but for login shell, specify /sbin/nologin. For home directory, I specify /nohome and don't give the user access. As far as locking the user into an ftp directory, I think that depends on what you use for your ftp server. With proftpd, I have in /etc/proftpd.conf: DefaultRoot /path/to/defaultusers/directory !restrictedgroupname DefaultRoot /path/to/restrictedusers/directory I just send non-restricted users to their home directory and restricted users to another. Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] ftp login failed
On Tue, 15 Jun 1999, you wrote: Niels Larsen wrote: I'm no expert, so I'm not sure that not having wu-ftp is the cause of your problem. But if you want to install it, it should be on the installation CD. My Mandrake 5.3 installation CD has wu-ftpd-2.4.2b18-2.i386.rpm. I haven't tried Mandrake 6.0 yet. If you need wu-ftpd-2.4.2b18-2.i386.rpm, I'm sure you can find it on a mirror site. OK, good luck, Would you happen to know the name of the FTP Server program? I went to install AnonFTP from the RPMs and it said 'ftpserver' was a depency problem. I've looked at all the RPMS available and nothing is named ftpserver. I hope its under another name. -- Jeremy Mann [EMAIL PROTECTED] ICQ# 21081443 "Where do you want to go tomorrow?" http://www.linux-mandrake.com
RE: [newbie] ftp login failed
I installed wu-ftpd i believe and that solved that problem. -Original Message- From: Jeremy Mann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 15, 1999 3:22 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] ftp "login failed" On Tue, 15 Jun 1999, you wrote: Niels Larsen wrote: I'm no expert, so I'm not sure that not having wu-ftp is the cause of your problem. But if you want to install it, it should be on the installation CD. My Mandrake 5.3 installation CD has wu-ftpd-2.4.2b18-2.i386.rpm. I haven't tried Mandrake 6.0 yet. If you need wu-ftpd-2.4.2b18-2.i386.rpm, I'm sure you can find it on a mirror site. OK, good luck, Would you happen to know the name of the FTP Server program? I went to install AnonFTP from the RPMs and it said 'ftpserver' was a depency problem. I've looked at all the RPMS available and nothing is named ftpserver. I hope its under another name. -- Jeremy Mann [EMAIL PROTECTED] ICQ# 21081443 "Where do you want to go tomorrow?" http://www.linux-mandrake.com
Re: [newbie] ftp login failed
On Tue, 15 Jun 1999, Jeremy Mann wrote: Would you happen to know the name of the FTP Server program? I went to install AnonFTP from the RPMs and it said 'ftpserver' was a depency problem. I've looked at all the RPMS available and nothing is named ftpserver. I hope its under another name. Install either BeroFTPD or wu-ftpd. LLaP bero
Re: [newbie] ftp login failed
On Tue, 15 Jun 1999, you wrote: Install either BeroFTPD or wu-ftpd. LLaP bero Thanks. Worked like a charm!! -- Jeremy Mann [EMAIL PROTECTED] ICQ# 21081443 "Where do you want to go tomorrow?" http://www.linux-mandrake.com
Re: [newbie] ftp login failed
Niels Larsen wrote: After specifying a normal user during Mandrake 6 installation, I found that I could not ftp into it, whereas I could get in by telnet. Is this really the default, must one alter /etc/ftpaccess just to get in? I did try the menu interface in KDE, tried to define a class as best I could, but didnt work. I also managed to hang this interface, but dont have a way to reproduce it (will let you know when I do). So, how to let myself in? are there instructions? Niels Larsen, [EMAIL PROTECTED] Hi, Niels, Did you install wu-ftpd and anonftp? Good luck, Hidong
Re: [newbie] ftp login failed
Hi, Niels, Did you install wu-ftpd and anonftp? Good luck, I crossed off all packages on Mandrake 6.0, except Extra Documentation. I see the anonymous ftp directories created, and when I connect, the beroFTP daemon responds, so I think the answer is yes, although beroFTP is not exactly wu-ftp. Its after I type the user name and password, that I get the login failed message, on the screen, and in /var/log/messages. I guess the problem is configuration, and that I cant figure how to do that. If you can point me to a URL or part of the distribution that shows how, please do. I am proabably just overlooking it. Niels L
Re: [newbie] ftp login failed
Niels Larsen wrote: Hi, Niels, Did you install wu-ftpd and anonftp? Good luck, I crossed off all packages on Mandrake 6.0, except Extra Documentation. I see the anonymous ftp directories created, and when I connect, the beroFTP daemon responds, so I think the answer is yes, although beroFTP is not exactly wu-ftp. Its after I type the user name and password, that I get the login failed message, on the screen, and in /var/log/messages. I guess the problem is configuration, and that I cant figure how to do that. If you can point me to a URL or part of the distribution that shows how, please do. I am proabably just overlooking it. Niels L Hi, Niels, What do 'rpm -q wu-ftpd' and 'rpm -q anonftp' return? This will tell you if you have these packages installed. If you don't, the RPMs are on the installation CD. Good luck, Hidong