April 26th, 2001, 03:17 PM
How do I remove my existing ftp daemon on FreeBSD? I want to install ProFtpd. I heard it was more secure with many options and easy to use.
April 26th, 2001, 08:06 PM
It doesn't matter whether it's FreeBSD or any other UNIX, just uncomment the ftp line from /etc/inetd.conf.
>> I heard it was more secure
Yes, but make sure your version is not 1.2.1 or earlier.
April 26th, 2001, 11:32 PM
Is there a file that I can configure to jail users to their directory? Something I can do without installing a new program. When users connect, I don't want them wandering into higher levels... and I want them to think they are in the highest directory...
It would be great if there is some way to do this without installing any new program.
April 27th, 2001, 01:13 AM
Create /etc/ftpchroot and add the username, one per line, to it.
April 27th, 2001, 01:49 AM
God.. If I only knew it was that easy... Wait.. but I can still access it through telnet... Is it more complicating if I want to disable that?
Last edited by spinkick; April 27th, 2001 at 01:57 AM.
April 28th, 2001, 08:53 AM
Disallow ftp and telnet access:
- run vipw and change the associate shell for that particular user to /sbin/nologin
(note, don't ask me how to use vipw, just use it like you normally do with vi. Just don't run any UNIX or Linux if you don't know enough vi)
Disallow ftp but allow telnet:
- add that username to /etc/ftpusers
Disallow telnet but allow ftp:
- run vipw and change the user shell to /sbin/nologin like mentioned above
- add /sbin/nologin to /etc/shells
Keep in mind that this thread is totally off topic, you should probably come over to http://bsdvault.net
Last edited by freebsd; April 28th, 2001 at 09:00 AM.