Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 11:40:46 -0700 (PDT)
From:      Tom <tom@sdf.com>
To:        Ian Vaudrey <i.vaudrey@cableinet.co.uk>
Cc:        "'ports@freebsd.org'" <ports@freebsd.org>
Subject:   Re: Cyrus port pwcheck daemon
Message-ID:  <Pine.BSF.3.95q.971006113757.21744A-100000@misery.sdf.com>
In-Reply-To: <01BCD24A.D425EF40@nemkoltd.nildram.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 6 Oct 1997, Ian Vaudrey wrote:

> Does anyone know if something has changed in 2.2-STABLE (cvsup'ed
> and world made Oct 2nd) that would break the pwcheck daemon in
> the Cyrus port? I have it working on a 2.2.2-RELEASE box, but
> after building it on the STABLE machine it refuses to authenticate.
> I've even tried copying the daemon executable from the working
> unit with no luck.

  Yes, something has changed.  UNIX domain sockets now apply the umask
permissions.  You will find that /var/pwcheck/pwcheck can written to by
the Cyrus user.

  You can change the permissions (chmod o+rw /var/pwcheck/pwcheck will
work) after starting pwcheck.  Do a "umask 0" before starting pwcheck
should also work.  I placed a umask() call right in the pwcheck daemon.  I
should probably submit my patch!

>  - Ian

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.971006113757.21744A-100000>