View previous topic :: View next topic |
Author |
Message |
alkan Guru


Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Wed Aug 17, 2005 4:57 pm Post subject: vsftpd asks for anon password [Solved] |
|
|
I'd like to serve some pictures via ftp for some other site hosted somewhere else.
I set:
Code: |
anonymous_enable=YES
no_anon_password=YES
|
But vsftpd still asks for a password. Any idea how to set up vsftpd so it doesn't ask for a password for anonymous users.
It works with default proftpd configiration. But i want to use vsftpd if possible.
Last edited by alkan on Fri Aug 19, 2005 6:24 pm; edited 1 time in total |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
thechris Veteran

Joined: 12 Oct 2003 Posts: 1203
|
Posted: Wed Aug 17, 2005 9:12 pm Post subject: |
|
|
to prevent typos, try logging in as "ftp". this is the default anon user. For me, it works just fine.
did you do a passwd ftp ? _________________ HW problems. It's a VIA thing. |
|
Back to top |
|
 |
alkan Guru


Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Wed Aug 17, 2005 10:28 pm Post subject: |
|
|
I didn't set ftp password. Also I can't tell the visitors adjust their browser to use ftp as anon user.
Those images are embedded into web pages which i don't have much control of. It just have to work when somebody points any browser to those images.
I am using proftpd for now until i have a solution. |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
alkan Guru


Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Thu Aug 18, 2005 7:16 am Post subject: |
|
|
with konqueror, it asks for password,
with firefox, i am getting:
Quote: |
500 OOPS: vstpd: refusing to run with writable anonymous root
|
vstpd USE flags are
Quote: |
net-ftp/vsftpd-2.0.3-r1 +pam +ssl +tcpd -xinetd
|
And my vstpd configration is
Code: |
background=YES
listen=YES
anonymous_enable=YES
no_anon_password=YES
dirmessage_enable=YES
connect_from_port_20=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
nopriv_user=nobody
|
I am missing something? |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
alkan Guru


Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Thu Aug 18, 2005 1:03 pm Post subject: |
|
|
permission of the ftp directory
Code: |
ls -dl /home/ftp
drwxrwsr-x 2 ftp ftp 20480 Aug 17 13:04 /home/ftp
|
|
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
alkan Guru


Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Fri Aug 19, 2005 3:26 pm Post subject: |
|
|
yes, it works that way. Thank you.
my intention changing the permission was to allow local users in ftp group easily update the ftp contents. |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
|