2004-07-04 -+- Tina Danisch -+- tina@neo5k.org -+- Nice article, Mario!

cya,
Tina -+- 80.136.68.56 = Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7) Gecko/20040608 2004-07-04 -+- Miri -+- webmistress<at>trinity-grafix<dot>de -+- Hi Mario!
That's really great and interesting. I hope, you'll write soon an article like that!

Keep it up!!

Bye, Miri -+- 80.136.68.56 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 2004-08-03 -+- hexa -+- hexa {at} v-level {dot} de -+- 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
--- -+- 80.128.22.5 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040529 Firefox/0.8 2004-08-13 -+- Felix -+- felix@feelingt.com -+- 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)? -+- 202.85.103.194 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) 2004-08-14 -+- Mario -+- netzmeister at neo5k dot org -+- 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
-+- 80.136.87.30 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 2004-09-02 -+- John S. -+- sully957@hotmail.com -+- 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 -+- 192.233.92.200 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) 2004-12-23 -+- aijaz -+- aijazz@gmail.com -+- 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 -+- 202.125.149.134 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 2004-12-30 -+- Mario -+- netzmeister at neo5k dot org -+- Hello Aijaz,

please send me your config-file via email.

Regards,
Mario -+- 80.136.78.179 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 2005-01-02 -+- Bauke -+- b.keulen@chello.nl -+- 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 -+- 80.57.9.129 = Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) 2005-01-04 -+- Mario -+- netzmeister at neo5k dot org -+- 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
-+- 80.136.90.79 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 2005-04-24 -+- esrg-cly -+- -+- It did help me to config my vsftp :)) -+- 202.118.179.142 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 #2005-07-30 -+- trnu,6i7mu897umum86m9 -+- 75 609,659m68596yi56709 -+- r67r8m 675k697o00000t;;rrrui6uytoue5 5567m906506565065e65065065weffgfgtytu6767 766666 7 76 78 786yrr6tu8rytturhnbv7ey8t547458y5buyhnuyt4n78hu54yn84787w4vb78t48vw48i4tiv845478y57847545757467 v n 6nwq546657 67 657777777777654 67 67 6 6 6754tyng5n78y64776547y5y54y7574y75g4e6ihbh90i7mh96u6ko7i6l7kil76lil -+- 220.141.127.32 = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90) #2006-03-11 -+- dick -+- dickvwoudenberg@hccnet.nl -+- Zal wel aan mij liggen maar anonymous of met login,niks werkt dus,alleen maar Oops :@. Via console kan hij de chroot_list niet vinden ??? (anonymous inlog?) hoe zit dat met die chroot_list? moet je die zelf aanmaken? wordt die zelfaangemaakt?
En zo ja hoe moet ik dat dan opstellen.Onderwerp zit voor de rest goed in elkaar,duidelijk,maar ik kom hier niet mee verder zo.Zit hier met de zo langzamerhand superirritante 500 Oops :@ errors!
-+- 80.100.169.76 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 2006-08-26 -+- markus -+- -+- Very helpful article!

Regards Markus -+- 212.35.8.77 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Crazy Browser 2.0.1) 2006-08-26 -+- markus -+- -+- Very helpful article!

Regards Markus -+- 212.35.8.77 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Crazy Browser 2.0.1) 2006-11-06 -+- Marc Hartmann -+- marc.71@web.de -+- 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 -+- 84.143.50.152 = Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7