Fri, 14 Sep 2007, by ajohansson@t-online.de:
On Friday 14 September 2007 00:01:36 joe wrote:
Anders Johansson wrote:
On Thursday 13 September 2007 23:38:37 joe wrote:
It has everything to do with the problem - if you run vsftpd from xinetd there is no need to manually restart it when adding/deleting/changing user accounts. In fact that's one of the main reasons we switched to xinetd.
This still begs the question
vsftpd uses pam, and pam doesn't cache user info, and since it's external to vsftpd, it literally can't cache it.
Just for the hell of it, I just tested it, and it worked perfectly with new users, and with changed passwords, without any restart at all necessary
Are you running it standalone?
Yes, otherwise it would be restarted (as you said yourself)
And with virtual users in a Berkeley database, with pam_userdb as I am? as far as I know, vsftpd needs to be made aware of a change in the database file that pam_userdb uses, by restarting. For users in /etc/passwd this is not necessary. But to make sure, I'll try to change accounts without restarting. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org