Guten Tag miteinander,
ich hoffe ich bin hier im richtigen Forum.
Also ich möchte ein Ftpuser erstellen auf meinem Linux Root.Er soll aber nur auf /home/test Zugriff haben.
Welche Befehle muss ich dafür bei putty eingeben.Hoffe ihr helft mir
MFG
@frin
-
-
Du legst einfach einen SSH Benutzer an, der dann auf /home/test Zugriff hat, bzw. sein Home Verzeichnis ist. Bei der passwd tippst du bei dem User auf /bin/false ein, damit er sich nicht auf die SSH Konsole verbinden kann.
Dann klappt das auch schon, wenn du die proftpd config Datei richtig bearbeitet hast (DefaulDir ~, RequireValidShell off). -
Zitat
die proftpd config Datei
Ähm ich hab mir proftpd runtergeladen und habe es in etc/init.d/ rein getan.Wo ist denn die proftpd Config Datei ?
-
einfach per apt-get installieren, die config Datei ist in /etc/proftpd/
-
-
Ja hab schon alles.Aber muss noch bei Putty "make clean" eingeben aber geht net:
~# make clean
-bash: make: command not found
root@vs1164181:~#gebe dann apt-get install make ein
und dann kommt :
apt-get install make
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package makePls help me
MFG
@frin -
-
apt-get install proftpd
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package proftpd
root@vs1164181:~# -
Folgenden Code einfügen:Codedeb http://ftp.de.debian.org/debian lenny main non-free contrib deb-src http://ftp.de.debian.org/debian lenny main non-free contrib deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free
Mit F3 Speichern und mit STRG+X Nano beenden.Jetzt dein System mit den neuen Paketquellen aktualisieren:
Und zu guter Letzt ProFTPd installieren:Edit: Beitrag überarbeitet.
-
Mal die sourceliste erneuern/erweitern
-
-
Jo hab alles gemacht aber der ordner proftpd ist nicht bei /etc/
MFG
@frin -
Auf meinen Server ist diese Config im folgendem Pfad zu finden:
Bearbeiten, Speichern, ProFTPd neustarten:
Jetzt muss ich mich sogar selbst zitieren -
locate proftpd.conf
root@vs1164181:~# /etc/proftpd/proftpd.conf
-bash: /etc/proftpd/proftpd.conf: No such file or directory
root@vs1164181:~#geht komischer weise net.ich hab ja den ordner proftpd nicht.Weiss nicht warum.
MFG
@frin -
Diese Befehlszeilen sind blödsinn.
Wie sollen wir dir bitte helfen, wenn du nicht das tust, was wir dir sagen?Befehl:
Ausgabe:
Zitat/etc/ispcp/proftpd/backup/proftpd.conf.system
/etc/ispcp/proftpd/parts/proftpd.conf.tpl
/etc/ispcp/proftpd/proftpd.conf
/etc/ispcp/proftpd/working/proftpd.conf
/etc/proftpd/proftpd.conf
/usr/local/src/ispcp/ispcp-omega-1.0.6/configs/debian/proftpd/parts/proftpd.conf.tpl
/usr/local/src/ispcp/ispcp-omega-1.0.6/configs/debian/proftpd/proftpd.conf
/usr/share/proftpd/templates/proftpd.conf
Und jetzt solltest du uns die Ausgabe von deinem Befehl schreiben, so schwer kann das jawohl nicht sein.
Wenn er keine Dateien findet, wird er dir auch keine Ausgabe liefern.Ich habe dir bereits das Programm "Nano" näher erklärt, wieso versuchst du dann bitte die Config ohne einem Befehl zu bearbeiten?
EDIT: Text überarbeitet
-
Hab den Text gespeichert dann steht da:
[ Error writing /etc/proftpd/proftpd.conf: No such file or directory ] -
Der Befehl "locate" zeigt dir alle Dateien mit dem Namen "proftpd.conf".
Natürlich musst du die richtige der gefundenen Dateien bearbeiten und nicht einfach eine neue Datei erfinden...Edit: Beitrag überarbeitet
-
Ich gebe locate proftpd.conf ein und dann kommt einfach ne neue zeile und da steht nichts hier:
root@vs1164181:~# locate proftpd.conf
root@vs1164181:~#MFG
@frin -
-
Zitat
root@vs1164181:~# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcap1 libmysqlclient15off libpq5 mysql-common proftpd-basic
proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql ucf
Suggested packages:
proftpd-doc openssl
The following NEW packages will be installed:
libcap1 libmysqlclient15off libpq5 mysql-common proftpd proftpd-basic
proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql ucf
0 upgraded, 10 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/3893kB of archives.
After this operation, 8029kB of additional disk space will be used.
Do you want to continue [Y/n]?
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75, <> line 10.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 10.)
debconf: falling back to frontend: Teletype
Preconfiguring packages ...
ProFTPd configuration
---------------------ProFTPd can be run either as a service from inetd, or as a standalone server.
Each choice has its own benefits. With only a few FTP connections per day, it is
probably better to run ProFTPd from inetd in order to save resources.On the other hand, with higher traffic, ProFTPd should run as a standalone
server to avoid spawning a new process for each incoming connection.1. from inetd 2. standalone
Run proftpd: locate proftpd.conf
Run proftpd:
habs gemacht und danach locate....... geht net.
MFG
@frin -
Bitte erklärs mir.ich muss es ja lernen.
MFG
@frin -