On Wed, Jan 22, 2003 at 09:02:51AM -0500, Bowie Bailey wrote:
> > From: Brian Candler [mailto:[EMAIL PROTECTED]]
> > 
> > You need to be root for PAM to be able to read your shadow 
> > password file. If
> > you are running a separate authdaemond then you can make 
> > sqwebmail suid to
> > some other user, and chown the authdaemon socket to that uid.
> > 
> > However, all your maildirs will also have to be owned by that 
> > uid (which is
> > OK if you are building a large virtual-hosting system where 
> > none of the
> > users have Unix shell accounts)
> > 
> 
> This sounds interesting.  I am running a system with all virtual users who
> are all under the same uid.
> 
> I don't quite follow what you mean by "chown the authdaemon socket".
> What/where is the authdaemon socket?

It's a Unix domain socket, in the filesystem, which authdaemon clients use
to talk to authdaemond.

I have ./configure'd Courier to use non-standard locations, so you'll have
to look for it. In my case it's

  /var/courier-imap/authdaemon/socket
  /var/sqwebmail/authdaemon/socket

# ls -ld /var/courier-imap/authdaemon
drwx------  2 exim  exim  512 Jan 21 15:38 /var/courier-imap/authdaemon
# ls -l /var/courier-imap/authdaemon
total 2
-rw-------  1 root  exim  0 Aug  8 09:47 lock
-rw-r--r--  1 root  exim  6 Jan 21 15:38 pid
srwxrwxrwx  1 root  exim  0 Jan 21 15:38 socket

(the 'authdaemon' directory which contains the socket will also need to have
the right permissions; as you can see the uid of the MTA is 'exim').

Brian.


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to