From owner-freebsd-isp Fri Sep 26 10:46:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA18443 for isp-outgoing; Fri, 26 Sep 1997 10:46:52 -0700 (PDT) Received: from emout11.mail.aol.com (emout11.mx.aol.com [198.81.11.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA18434; Fri, 26 Sep 1997 10:46:45 -0700 (PDT) From: Hetzels@aol.com Received: (from root@localhost) by emout11.mail.aol.com (8.7.6/8.7.3/AOL-2.0.0) id NAA23001; Fri, 26 Sep 1997 13:46:13 -0400 (EDT) Date: Fri, 26 Sep 1997 13:46:13 -0400 (EDT) Message-ID: <970926134521_1175710343@emout11.mail.aol.com> To: blaz@gold.amis.net cc: isp@freebsd.org, jfitz@freebsd.org Subject: Re: Cyrus IMAP Server - Can't log into server Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a message dated 97-09-25 16:54:59 EDT, blaz@gold.amis.net writes: > I was having the same problems. The trouble is, that pwcheck is started > as root (from /usr/local/etc/rc.d/cyrus.sh) and creates its socket in > /var/pwcheck as root so the imap server (which is running as user cyrus) > cannot access it. I have changed /usr/local/etc/rc.d/cyrus.sh to be: > > if [ -x /usr/local/cyrus/bin/pwcheck ] > then > /usr/local/cyrus/bin/pwcheck & && sleep 2 && chown cyrus /var/ > pwcheck/pwcheck && echo -n ' pwcheck' > fi Thanks for the tip, it now works with no problems, this solution should go into the Cyrus port. > and now it works just perfectly. Actually I have hacked pwcheck so that > it reads passwords from my private user database in addition to the > password file, so that I don't clutter up my password file unnecesary > with pop accounts. > Your hacks sound interesting, as I was planning on looking for/creating a RADIUS aware version of the pwcheck program. Does Anybody have a RADIUS aware version of the pwcheck program? Scot W. Hetzel