www.ProFTPD.de
13. März 2007, 19:21:13 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: DefaultRoot geht nicht .. :(  (Gelesen 266 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
xSMOKEx
ProFTPD
*
Offline Offline

Beiträge: 9

50844258
Profil anzeigen
« am: 19. März 2004, 07:44:58 »

hallo habe nen v-server bekommen proftp installiert (config (bis dato)):

AllowForeignAddress on

ServerName "#AnimeMooch"
ServerType standalone
DefaultServer on

Port 21

TimeoutIdle 600
TimeoutNoTransfer 600
TimeoutStalled 600

Umask 022

MaxInstances 30

User nobody
Group nogroup

RootLogin off
UseFtpUsers on
RequireValidShell off
DefaultRoot /home/HDD/ftp/
MaxLoginAttemts 3

<ifuser animemooch>
  <Limit WRITE STOR>
    DenyAll
  </Limit>
  <Limit READ>
    AlowAll
  </Limit>
</ifuser>

habe einen user gemacht gruppe ftp name animemooch (/bin/noshell)
DefaultRoot geht nicht er logt sich jedesmal in /home/animemooch ein
ich kann zwar in der /etc/passwd /home/animemooch umstellen auf
/home/HDD/ftp (oder /home/HDD/ftp/./) (was dann auch funktioniert wenn man sich anmeldet aber das lockt den user ja nicht in der dir
und gerade das will ich Traurig

kann mir wer sagen an was das liegt? bzw helfen mein problemm zu lösen?

THX xSMOKEx
Gespeichert

stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 19. März 2004, 21:12:27 »

hmm, kann es sein, dass der User auf das gewünschte Defaultroot /home/HDD/ftp keine rechte hat ?? Kann er das als erreichen ? (AUCH /home/HDD) ?

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Anonymous
Gast
« Antwort #2 am: 20. März 2004, 15:21:17 »

Zitat

ich kann zwar in der /etc/passwd /home/animemooch umstellen auf
/home/HDD/ftp (oder /home/HDD/ftp/./) (was dann auch funktioniert


^
uhmm? ja heh

aber nur halt wenn ich /home/HDD/ftp in passwd eintrage..
gehn tuts dann allerdings kann er sich dann den inhalt des ganzen servers angucken wenn er ..\ macht..
und das will ich nicht hehe
Traurig
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #3 am: 20. März 2004, 20:01:01 »

Zitat von: "Anonymous"

aber nur halt wenn ich /home/HDD/ftp in passwd eintrage..
gehn tuts dann allerdings kann er sich dann den inhalt des ganzen servers angucken wenn er ..\ macht..
und das will ich nicht hehe
:(


dann geht es auch NICHT !
Debug Mode !
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #4 am: 20. März 2004, 22:16:50 »

Aber proftpd läuft, ja?
Code:
fuser -n tcp 21
ps -ef |grep <Die Prozess-ID, die fuser ausgibt>

Man weiß ja nie :oops:

PS: Debug:
Code:
proftpd -nd9
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #5 am: 20. März 2004, 22:31:12 »

also habs mal gemacht (debug etc..
rausgekommen is das:

[root@1010 proftp]# fuser -n tcp 21
21/tcp:              21932
[root@1010 proftp]# ps -ef |grep 21932
nobody   21932     1  0 Mar18 ?        00:00:00 proftpd: (accepting connections)
root     29010 27516  0 22:26 pts/12   00:00:00 grep 21932
[root@1010 proftp]# proftpd -nd9
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - FS: using system read()
 - FS: using system read()
 - FS: using system close()
0.0.3.242 -
0.0.3.242 - Config for #AnimeMooch:
0.0.3.242 - <IfUser>
0.0.3.242 -  Limit
0.0.3.242 -   AllowAll
0.0.3.242 -  Limit
0.0.3.242 -   DenyAll
0.0.3.242 -  IfUserList
0.0.3.242 -  DefaultRoot
0.0.3.242 - AllowForeignAddress
0.0.3.242 - DefaultServer
0.0.3.242 - TimeoutIdle
0.0.3.242 - TimeoutNoTransfer
0.0.3.242 - TimeoutStalled
0.0.3.242 - Umask
0.0.3.242 - UserID
0.0.3.242 - UserName
0.0.3.242 - GroupID
0.0.3.242 - GroupName
0.0.3.242 - MaxLoginAttempts
0.0.3.242 - dispatching auth request "getgroups" to module mod_auth_file
0.0.3.242 - dispatching auth request "getgroups" to module mod_auth_unix
0.0.3.242 - SETUP PRIVS at main.c:2714
0.0.3.242 - ROOT PRIVS at main.c:1956
0.0.3.242 - RELINQUISH PRIVS at main.c:1962
0.0.3.242 - ROOT PRIVS at main.c:2323
0.0.3.242 - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'
0.0.3.242 - RELINQUISH PRIVS at main.c:2347
0.0.3.242 - ROOT PRIVS at inet.c:452
0.0.3.242 - RELINQUISH PRIVS at inet.c:492
0.0.3.242 - Failed binding to 0.0.0.0, port 21: Address already in use
0.0.3.242 - Check the ServerType directive to ensure you are configured correctly.

kann mir wer weiterhelfen?
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #6 am: 21. März 2004, 09:52:52 »

Zitat von: "Anonymous"
also habs mal gemacht (debug etc..
rausgekommen is das:

0.0.3.242 - RELINQUISH PRIVS at inet.c:4920.0.3.242 - Failed binding to 0.0.0.0, port 21: Address already in use
0.0.3.242 - Check the ServerType directive to ensure you are configured correctly.

kann mir wer weiterhelfen?


Mini FAQ lesen
ProFTPD nicht 2x starten

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
xSMOKEx
ProFTPD
*
Offline Offline

Beiträge: 9

50844258
Profil anzeigen
« Antwort #7 am: 21. März 2004, 10:03:24 »

hmm
ich habe es schon paar mal mit
killall proftpd
und dann debug gemacht..
zwar hat er dann nicht den fehler mit binding gezeigt
aber login war trotzdem nicht dort wo ichs in proftpd.conf eingetragen hatte
habs nun grad nochmal gemacht plötzlich gehts Smiley
k/a wieso nun heh
ps danke stonki und  Wörsty  L&auml;chelnd
Gespeichert

Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.066 Sekunden mit 16 Zugriffen.