Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Help s debianom a ftp  (Přečteno 1381 krát)

miso250593

  • Návštěvník
  • Příspěvků: 51
    • miso250593´s site
Help s debianom a ftp
« kdy: 17 Dubna 2009, 18:36:56 »
Viem že toto je podpora ubuntu ale myslím že by ste mi aj vy mohli pomôcť

stiahol a nainstaloval som to takto
Kód: [Vybrat]
apt-get install proftpd
len neviem ako priradiť usera

hladal som aj na nete ale nejak som tomu nepochopil
ja by som chcel usera aj z heslom


ďakujem

Martin - ViPEr*CZ*

Re: Help s debianom a ftp
« Odpověď #1 kdy: 17 Dubna 2009, 18:59:25 »
Viem že toto je podpora ubuntu ale myslím že by ste mi aj vy mohli pomôcť

stiahol a nainstaloval som to takto
Kód: [Vybrat]
apt-get install proftpd
len neviem ako priradiť usera

hladal som aj na nete ale nejak som tomu nepochopil
ja by som chcel usera aj z heslom


ďakujem

No to je naprosto jednoduchý... navíc na toto téma toho na netu je. Default nastavení je uživatel v systému a jeho heslo. Pokud to chcete změnit budete muset číst.
Tady třeba nějakej rozjezd v češtině: http://www.lanax.net/view.php?cisloclanku=2007010002

A úplně nejlepší stránky projektu: http://www.proftpd.org/docs/example-conf.html
« Poslední změna: 17 Dubna 2009, 19:03:43 od Martin - ViPEr*CZ* »
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

miso250593

  • Návštěvník
  • Příspěvků: 51
    • miso250593´s site
Re: Help s debianom a ftp
« Odpověď #2 kdy: 17 Dubna 2009, 19:20:03 »
ja som už asi úplný *censored* ale prihlasujem sa pod root uctom a ked to dam do ftp nejde

a neviem ako to mam nakonfigurovat
 ???

Martin - ViPEr*CZ*

Re: Help s debianom a ftp
« Odpověď #3 kdy: 17 Dubna 2009, 23:20:17 »
Vždyt jsem Vám poslal stránku, kde jsou i ukázky konfigurací.
Co to máte za FTP? No pochybuju, že Vám to jen tak někdo udělá ... když se toho na netu válí plno. Já třeba používám proftp s mysql autentizací.
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

miso250593

  • Návštěvník
  • Příspěvků: 51
    • miso250593´s site
Re: Help s debianom a ftp
« Odpověď #4 kdy: 18 Dubna 2009, 08:55:59 »
no nejak mi to už beží len to ide strašne pomaly

proftpd.conf
Kód: [Vybrat]
##
## Config with simple mysql authentication support
ServerName                      "MY Server"
ServerType                      Standalone
ServerAdmin                     ja@neco.sk

# Hide as much as possible to outside users
ServerIdent                     on "Welcome. Please login..."
DeferWelcome                  on

DefaultServer                   on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart               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                            nobody
Group                           nogroup

# Normally, we want files to be overwriteable.

  AllowOverwrite                on

####
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c
####

# The passwords in MySQL are encrypted using CRYPT
SQLAuthTypes            Plaintext Crypt
SQLAuthenticate         users* groups*


# used to connect to the database
# databasename@host database_user user_password
SQLConnectInfo  ftp@localhost ftp pass


# Here we tell ProFTPd the names of the database columns in the "usertable"
# we want it to interact with. Match the names with those in the db
SQLUserInfo     ftpuser userid passwd uid gid homedir shell

# Here we tell ProFTPd the names of the database columns in the "grouptable"
# we want it to interact with. Again the names match with those in the db
SQLGroupInfo    ftpgroup groupname gid members

# set min UID and GID - otherwise these are 999 each
SQLMinID        500

# create a user's home directory on demand if it doesn't exist
SQLHomedirOnDemand on

# Update count every time user logs in
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser

# Update modified everytime user uploads or deletes a file
SQLLog  STOR,DELE modified
SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser

RootLogin off
RequireValidShell off

a prihlasit sa prihlásim a ide mi to strašne pomaly

 

Provoz zaštiťuje spolek OpenAlt.