PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : proftpd & login



ReIgN83
22.02.03, 17:21
Hallo Leute

Hab ein problem mit dem einloggen unter linux und dem Proftpd
ich kann mich nur mit einem benutzer einloggen und auch nur einem bestimmten
den ich aber nicht vorkonfiguriert habe
hmmm haette ihr ne idea hier ist die standard config .....die ihr nur mit kleinen aenderungen

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD New Company Beta Version"
ServerType standalone
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User me
Group me

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
<Limit Login>
Allow All
</Limit>

# A basic anonymous configuration, no upload directories.
<Anonymous ~anonymous>
User anonymous
Group anonymous
AnonRequirePassword off
RequireValidShell off

# We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

</Anonymous>

hoffe ihr wisst einen rat
danke im voraus
Ps:User existieren haben ein korrekte shell.
ich habe mir auch die docu reingezogen und den google ;)
bin abertrotzdem noch :confused:
server ist auch neugestartet.

Tocotac
23.02.03, 12:59
schau mal in die /etc/ftpusers dort stehen die user drinne, die sich nicht anmelden können. also wenn die user dabei sind -> einfach auskommentieren

ReIgN83
23.02.03, 19:34
hmmm die ftp user habe ich geloest wars nicht ... :-D
es war das der alias auf ftp war und der ftp user auf /dev/null war ;-)
nice greeting

linosch
24.02.03, 06:20
Hi,

ich bin damals als ich mein Debian aufgesetzt habe auch darüber gestollpert, dass ich mich nur mit einigen Usern anmelden konnte und mit anderen ebend nicht. Grund hierfür war die Shell der Benutzer. Alle die /bin/false hatten konnten sich nicht einloggen. Die Lösung liegt darin, dass unter Debin /bin/false als Loginshell deklariert werden muss. Dies geschieht unter /etc/shells.

Vielleicht wird ja auch bei Dir die entsprechende Shell nicht als loginshell akzeptiert.

Gruss Lino

ReIgN83
24.02.03, 18:57
hmm genau das war es auch !! hrhrhrhr
nur das /bin/false auch drinnen stand
du kannst dann aber mit der option
RequireValidShell off
dann diese umgehen nur der home user der fuer den anonymous alias stehe sollte nicht auf eine falsche shell wie in meinem fall
ftp /dev/null stehen
als ich ftp auf /bin/bash gesetz habe
funzt der anonymous naja bis man auf das drauf kommt ist man auch :ugly: :eek: :confused: und am ende :mad: wenn man es geschafft hat :D
ich versuche jetzt n paar dinge vieleich hast lust an nem projekt das wir zusammen machen koennten meld dich falst a paar sachen zusammen machen moechtest mit proftpd 2 koepfe sind heller als 1 keonnten wir uns ja mal zusammen reden per irc oder icq
ps ich verwende redhat 8.0 + gnome 2