Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pure-ftpd pure-pw can-t manage mysql
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 351
Location: Good old Prague, Czech rep.

PostPosted: Wed Oct 03, 2012 8:44 am    Post subject: Pure-ftpd pure-pw can-t manage mysql Reply with quote

Hi all,

i only wanted to know, if pure-pw can manage users that are stored in mysql db and not in a file.

Thank you very much
H.
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 351
Location: Good old Prague, Czech rep.

PostPosted: Sun Oct 07, 2012 9:20 am    Post subject: Reply with quote

No one knows? No one uses pure-ftpd?
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 351
Location: Good old Prague, Czech rep.

PostPosted: Sun Mar 24, 2013 10:05 am    Post subject: Reply with quote

I need it again and still nothing... :(
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 586

PostPosted: Mon Mar 25, 2013 10:12 pm    Post subject: Reply with quote

No, it can't. "pure-pw" is only for managing users in the "/etc/pureftpd.passwd" file.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 246

PostPosted: Tue Mar 26, 2013 5:59 am    Post subject: Reply with quote

no you wrong, new version keep --with-mysql option in configure
here
http://www.pureftpd.org/project/mysql-udf-global-user-variables
you should define user id in database and password.
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 351
Location: Good old Prague, Czech rep.

PostPosted: Tue Mar 26, 2013 2:15 pm    Post subject: Reply with quote

syn0ptik: i dont underestand. What is this good for? I have users in db, and I just need to "update" purepw so it is able to manage db values. (all necesary information this new purepw command need are stored in /etc/puremysql.comf (sorry i dont know exact name)

Or this link you provided has answer to my question and i only dont underestand it? :)

H.
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 246

PostPosted: Wed Mar 27, 2013 6:28 am    Post subject: Reply with quote

no you need keep users in /etc/passwd and uid with password in mysql db.
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 351
Location: Good old Prague, Czech rep.

PostPosted: Wed Mar 27, 2013 9:17 am    Post subject: Reply with quote

Ok, thanks guys,

what could be that difficult to write purepw that can manipulate users in db? Maybe i will try to do it :)

H.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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