• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Firefox und vsftp -- localhost:

Hallo!

ich habe mich jetzt auch endlich mal dazu überreden können, mir vsftp anzusehen:

Hier mein Configfile:
Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are very paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
#
# Allow anonymous FTP?
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to "ftp://wild-thing.homelinux.org"
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=NO
#
# Own Settings
userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
chroot_local_user=YES
guest_enable=NO
pam_service_name=vsftpd
local_root=/srv/ftp/ftp.wildthing.homelinux.org/

Dann hab ich eben die beiden erlaubten User angegeben. Diese werden dann auch in dem Verzeichnis chrooted. Und die können nicht hin und her. Zumindest hab ich das in Filezilla getestet und mit Konqueror.

Der FTP ist noch nicht am Netz! Der ist nur lokal erreichbar zwecks einer Firewall die ihn lokal noch eingrenzt.

Jetzt habe ich versucht mit dem Firefox vom selben Rechner auf dem VSFTP läuft auf "localhost" zuzugreifen.

Mit filezilla sowie konqueror funktioniert das; Nur firefox meldet
"530 Permission denied"

Was hab ich falsch gemacht? Geht das auch mit dem Feuerfuchs?

Viele Grüße,

R
 
Hi

und danke für die Antwort...

Permission denied... ?

was wollte mir deine Aussage sagen?

Gruß

R
 
revealed schrieb:
was wollte mir deine Aussage sagen?
Dass du bei Firefox user:passwort in der ftp:// URL mit übergeben musst.
Es langt auch ftp://user@ftp.server.tld - dann fragt er nach dem Passwort.

Was genau du als URL eingegeben hast, hast du uns ja nicht verraten. Von daher kann man nur raten.
 
Ah :)

Danke jetz hab ich es kapiert! :)

da stand ich auf der Leitung -- das klappt so! Kann man das irgendwo bei den Einstellungen vom Feuerfuchs einstellen, dass er auf normalem wege über Loginmaske sich anmeldet? Weil mit m Konqueror klappt das auch, also muss der Firefox auch können, glaub ich?

Oder anders gefragt, währe eine gute Alternative wenn es ein schönes FTP AddOn für den Firefox gäbe ? Könnt ihr mir was empfehlen?

Gruß

R
 
Also bei Firefox 3beta4 zeigt er eine komplette Loginmaske wenn man nur die URL vom FTP eingibt. Da hat sich also was getan.

Als addon gibt es FireFTP für FF2, das ist ganz brauchbar - und als client deutlich komfortabler (ganze Ordner und multiple Dateien auswählen, Bookmarks usw..)
 
cool dann freu ich mich schon auf die "3" hm. Ihr seid mir jetzt nicht bös, aber ich hab gestern den FTP wieder runter. Weil ich beim Konfigurieren gescheitert bin.

Im LAN liefs. Aber Life nicht. Dann hab ich noch pureftp versucht. Und nachdem ich den user added hatte und das pure-pw updb gemacht hatte, ist irgendwas durcheinander gekommen, weil dann war kein login mehr möglich vorher schon. Rückgängig machen und deinstallieren (verzeichnis im Anschluss killen) und wieder drauf hat nix geholfen. Dann hab ich die /sbin/false user die ich angelegt hatte für das FTP zeug auch wieder gekillt.

Sowieso schien nur der vsftp das zu checken meinen User auf das FTP Verzeichnis zu chrooten via ftp. Die anderen hatten das homeverzeichnis eh dort.

Aber nur der volle user mit loginshell ging mit pureftp. :S

Naja. Anyways das Feature fehlt beim Firefox.

Danke also... ab hier vorerst gelöst für mich demnach.

Gruß

R
 
Oben