Talkback for article: 341, July2004

vsftpd - an introduction to the Very Secure FTP Daemon

Back to: http://cgi.linuxfocus.org/English/July2004/article341.shtml

From: Tina Danisch <tina(at)neo5k.org> [ date: 2004-07-04 ]
Nice article, Mario!

cya,
Tina
From: Miri <webmistress<at>trinity-grafix<dot>de> [ date: 2004-07-04 ]
Hi Mario!
That's really great and interesting. I hope, you'll write soon an article like that!

Keep it up!!

Bye, Miri
From: hexa <hexa {at} v-level {dot} de> [ date: 2004-08-03 ]
nice article! i think vsftpd is really great. it came with Trustix Linux so i chosed it in prior to proftpd. your article helped me a lot configuring it and now its running secure and stable...
bye, ben
---
www.v-level.de -> PC-Hardware -> Fileserver
---
From: Felix <felix(at)feelingt.com> [ date: 2004-08-13 ]
I was using Proftpd before and now changing to vsftpd, but I've a problem. Is it possible to allow writing file(or directory), but not deletion of file(or directory)?
From: Mario <netzmeister at neo5k dot org> [ date: 2004-08-14 ]
Hello Felix,

if you have the permission to write a file, you also can delete this. However, you can create virtual users with different access rights.

For example a user can only download files and browse the directory. Another user can download files and has additionally write permission to files and directories. You can view this and other examples in the vsftpd-docs at ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/README and ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS_2/README . btw, it is very interesting to try out the many config options of vsftpd and play around with them.

regards,
Mario

From: John S. <sully957(at)hotmail.com> [ date: 2004-09-02 ]
Does anyone know how to config VSFTPD so that it will authenticate NIS
users ? No problem with local user but doesn't authenticate NIS
users. I try to find these info through google but could not find any
info.

All info and pointers are appreciated.


Regards,
John
From: aijaz <aijazz(at)gmail.com> [ date: 2004-12-23 ]
Mario,

Thanks for writing the nice article. I am facing a problem though while configuring the vsftpd. When I try to run ftp after configuring here is what I get

Connected to 163.183.54.162.
220 Welcome to chuss FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS. <-- why the second time?
KERBEROS_V4 rejected as an authentication type<-- don't know why is it shows
Name (163.183.54.162:root): aijaz
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.


Can you please help me on this. I would really appreciate any help
Regards
Aijaz
From: Mario <netzmeister at neo5k dot org> [ date: 2004-12-30 ]
Hello Aijaz,

please send me your config-file via email.

Regards,
Mario
From: Bauke <b.keulen(at)chello.nl> [ date: 2005-01-02 ]
Hi Mario, nice article :)

Is there an option to run the server on any other port than 21? I have listen_port=27015 in vsftpd.conf but that doesn't seem to work.

Thanks in advance for your e-mail
From: Mario <netzmeister at neo5k dot org> [ date: 2005-01-04 ]
Hello, Bauke.

Yes, this is possible, but your vsftpd must run in standalone mode (not started via inetd||xinetd).

For Example:
# lsof -i :21
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 10371 root 9u IPv4 178812 TCP *:ftp (LISTEN)

Now you have to change the starting mode of vsftpd in its config-file.
# cat /etc/vsftpd.conf
[...]
listen=YES # for standalone mode
listen_port=27015

If your vsftpd is started via xinetd, you must disable the ftp service:
# cat /etc/xinetd.d/vsftpd
[...]
disable = yes

Otherwise you must comment out or delete the respective line in the inetd-config:
# cat /etc/inetd.conf
# ftp stream tcp nowait root /usr/sbin/tcpd vsftpd

After that you must restart the particular service with:
# /etc/init.d/xinetd reload or
# /etc/init.d/inetd reload

At this point you can start your vsftpd in standalone mode, so that it receives inquiries on the new port:
# vsftpd &

You can test your modifications with:

# lsof -i :27015
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
vsftpd 10478 root 3u IPv4 198349 TCP *:27015 (LISTEN)

And Port 21 isn't used any more:
# lsof -i :21
#

Regards,
Mario

From: esrg-cly [ date: 2005-04-24 ]
It did help me to config my vsftp :))
From: markus [ date: 2006-08-26 ]
Very helpful article!

Regards Markus
From: markus [ date: 2006-08-26 ]
Very helpful article!

Regards Markus
From: Marc Hartmann <marc.71(at)web.de> [ date: 2006-11-06 ]
Hi,
ich will ja nicht unken, aber interessant find ich den Artikel nicht mehr. Die Konfig liegt ja unter vsftpd.conf sowie Mario sie beschrieben hat (nur auf englisch). Und es wär hier viel interessanter mal die Konfiguration mit der Firewall und passivem FTP aufzuzeigen, und welche Probleme es dort geben kann.
Sorry aber ist halt meine Meinung.
Gruß
Marc

14 talkbacks




Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to http://cgi.linuxfocus.org/English/July2004/article341.shtml

Please contact webmaster(at)linuxfocus.org if you have any questions with regards to this talkback

lftalkback version 3.10