Mailinglist Archive: opensuse (2217 mails)

< Previous Next >
Re: [opensuse] Script fails for unknown reason
  • From: "Theo v. Werkhoven" <theo@xxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 14 Sep 2007 00:26:25 +0200
  • Message-id: <20070913222625.GA11848@xxxxxxxxxxxxxxxx>
Fri, 14 Sep 2007, by ajohansson@xxxxxxxxxxx:

> 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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups