Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pure-ftpd: invalid password
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Wed Nov 05, 2003 3:22 pm    Post subject: pure-ftpd: invalid password Reply with quote

Ho appena installato pure pure-ftpd...

Soltanto che non ho la piu' pallida idea di come si configuri, ho settato secondo le mie necessita' /etc/pure-ftpd e ho aggiunto un utente virtualecome suggerito qui ma all'autenticazione si bocca dicendo password invalid.

Cosa ho sbagliato?
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
Diggs
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 239
Location: LoSt In NeT SpAcE

PostPosted: Thu Nov 06, 2003 4:26 am    Post subject: Reply with quote

[OT - Cmq esiste anche /etc/conf.d/pure-ftpd per ulteriori opzioni]
Hai messo la password per l'user in questione?
Può essere che l'utente non sia creato ed addato al gruppo di ftpusers come descritto qui?
Il mio suggerimento è seguire passo passo da capo l'how-to e poi vedere :wink:
Ad ogni modo ti riporto questo link ove vi è scritto, per quanto concerne pure-ftpd:
Quote:

Pure-ftpd

Pure-ftpd is an branch of the original trollftpd. Modified for security reasons and functionality by Frank Dennis.

Use virtual users (never system accounts) by enabling the AUTH option. Set it to -lpuredb:/etc/pureftpd.pdb and create your users by using /usr/bin/pure-pw.

Code listing 11.10: /etc/conf.d/pure-ftpd

## Number of simultaneous connections in total, and per ip ##
MAX_CONN="-c 30"
MAX_CONN_IP="-C 10"

## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"

AUTH="-lpuredb:/etc/pureftpd.pdb"

## Misc. Others ##
MISC_OTHER="-A -E -X -U 177:077 -d -4 -L100:5 -I 15"



And configure your MISC_OTHER setting for not allowing anonymous (-E), chroot everyone (-A), Users can not read or write to files beginning with a . (dot) (-X), max idle time (-I), limit recursion (-L) and a reasonable umask.

:wink:
_________________
IRCNET NICK: diggs on IRCNET
http://leonardo.netsons.org/
Gioca a Tremulous! Player [!!!] Diggs [ITA]
Back to top
View user's profile Send private message
paolo
l33t
l33t


Joined: 23 Jul 2002
Posts: 768
Location: SBT (AP)

PostPosted: Thu Nov 06, 2003 7:20 pm    Post subject: Reply with quote

Con proftpd dopo aver aggiunto un utente al sistema lo devi "riavviare".
Magari serve anche con pure :)

Paolo
_________________
Nihil sine magno labore
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Tue Nov 11, 2003 3:27 pm    Post subject: Reply with quote

avevo toppato il tipo di autenticazione... ora tutto ok

Resta pero' un problema non indifferente

Ho fatto creare a Pure-ftpd un tot di utenti virtuali, ognuno ha la sua home in /home/ftpusers/nomeutente, nella quale puo' scorrazzare felice uploadando, scaricando e rinominando.

Ora: io ho bisogno che ogni utente acceda ad una dir in sola lettura, dalla quale possa scaricare e basta. Come faccio?

In particolare vorrei che tutti potessero accedere all dir /windows. Ho provato a creare un collegamento a tale dir e inserirlo in ciasuna delle home ma tutti gli utenti a questo punto conservano i privilegi di scrittura, forse perche' all'interno della propria home sono chrootati...

Sto impazzendo con sto server ftp, se penso che in win con 4 click avrei avuto tutto a posto poi... :twisted:
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Tue Nov 11, 2003 4:30 pm    Post subject: Reply with quote

Leggendo in giro non sono sicuro che con pure-ftpd si possa fare quello che voglio io...

In poche parole io ho una dir /windows che e' di proprieta' di nobody, questa dir (e tutte le sottodir) devono essere accessibili in sola lettura agli user. Poi ho bisogno una dir per ogni utente dove questi possa uploadare. Non mi sembra molto complicata come cosa, possibile che non esista un qsa di semplice semplice senza dover scartabellare con incredibili file di configurazione, utenti di sistema ecc ecc? Dai non ci credo che nn lo sapete... :wink:

Se qno ha fatto qsa di simile potrebbe farmi un esempio della sua configurazione?
_________________
~~ Per amore della rosa si sopportano le spine... ~~
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum