Alessandro Vesely wrote: > Lindsay Haisley writes: > >>I can always query the database (authmysql) directly, but since I'm going to >>publish this I'd rather at least use a method which will work with courier >>across any auth mechanism supported by the current courier configuration. >> > > > I have a script doing that using authtest (it works with ancient versions > also) > For more than sporadic use, I would hack authtest to produce a suid executable > that does directly what you're after. > > AFAIK you need to be root to access authdaemond's socket.
AFAIK this is only because of permissions set on the socket or the directory it is in. Can anyone tell me what the permissions are when you install courier-authlib straight from it's tarball or from an rpm? I run courier-authlib on FreeBSD and I've installed it from the FreeBSD port. In that scenario the socket is created with permissions set to 777 and is owned by root:courier but the directory it's in has permissions 750 and is owned by courier:courier. Andrew ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
