Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Aus den ports vsftpd bauen.
in /ect/rc.conf
inetd_enable="YES"
neuserten damit inetd gestartet wird.
in /etc/inetd.conf
ftp stream tcp nowait root /usr/local/libexec/vsftpd vsftpd /usr/local/etc/vsftpd.conf
natürlich in eine zeile einfügen
ee /usr/local/etc/vsftpd.conf editeren
mein vorschlag:
...
anonymous_enable=NO #braucht normaleweise keiner
...
local_enable=YES #lokaleuser erlauben
...
write_enable=YES #schreiben für lokaleuser erlauben
...
chroot_list_enable=YES #die lokalen benutzer sollen nur ihr home verzeiniss sehen und nicht bis zu / browsen können
...
chroot_list_file=/usr/local/etc/vsftpd.chroot_list # pfad der chroot_list Datei.
und zulezt
$touch /usr/local/etc/vsftpd.chroot_list
erstellt die datei
mit editor z.B.
$ee /usr/local/etc/vsftpd.chroot_list
die user eintrage die den zugriff habe sollen auf den ftp
eifach username untereineder schreiben
us001
us002
us003
das als Beispiel.
Man sollte aber die eigenen Unixusernamen nehmen und dafür sorgen dass diese auch ein homediretory haben.
Wieso schaust du nicht einfach mal in man ftpd nach?cat1510 schrieb:Wo stell ich denn ein, dass ich als User in jedes Verzeichnis darf?
Oder welche Doku muss man dazu lesen. In man ftpd steht das nicht drin oder?
5. If the user name appears in the file /etc/ftpchroot, or the
user is a member of a group with a group entry in this file,
i.e. one prefixed with `@', the session's root will be changed
to the directory specified in this file or to the user's login
directory by chroot(2) as for an ``anonymous'' or ``ftp''
account (see next item). See ftpchroot(5) for a detailed
description of the format of this file. This facility may
also be triggered by enabling the boolean "ftp-chroot" capa-
bility in login.conf(5). However, the user must still supply
a password. This feature is intended as a compromise between
a fully anonymous account and a fully privileged account. The
account should also be set up as for an anonymous account.
Wir verwenden essentielle Cookies, damit diese Website funktioniert, und optionale Cookies, um den Komfort bei der Nutzung zu verbessern.
Siehe weitere Informationen und konfiguriere deine Einstellungen