Re: Using PostgreSQL auth - user permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 Feb 2013 12:19:28 -0500
"D'Arcy J.M. Cain" <darcy@xxxxxxx> wrote:
> I have recently upgraded to Apache 2.4, suExec and dbd authentication
> with PostgreSQL.  This is on a system with multiple users.  Here is an
> example virtual host entry:

Pardon my followup to my own message but I realized that I gave a bad
example.  This one uses the same user for SuexecUserGroup and DBDParams
and still has the same problem.

<VirtualHost 98.158.134.4:80>
    ServerName admin.bigsmokemusic.com
    DocumentRoot /u/WEB/bigsmoke/admin
    ServerAdmin webmaster@xxxxxxx
    SuexecUserGroup bigsmoke bigsmoke
        
    DBDriver pgsql
    DBDParams "dbname=bigsmoke user=bigsmoke"
    DBDPersist off

    <Directory /u/WEB/bigsmoke/admin>
        AuthType Basic
        AuthName "Big Smoke Music Administration"
        Require valid-user
        AuthBasicProvider dbd
        AuthDBDUserPWQuery "SELECT person_pass FROM pperson \
                            WHERE person_login = %s"
    </Directory>
</VirtualHost> 

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy@xxxxxxx
Voip: sip:darcy@xxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux