Re: sepgsql where are the security labels - Mailing list pgsql-general

From Ted Toth
Subject Re: sepgsql where are the security labels
Date
Msg-id CAFPpqQEi9wf7F0sqUq6LT5x8pE7+j-amcYHDP8eK1R_xHZg6Ng@mail.gmail.com
Whole thread Raw
In response to Re: sepgsql where are the security labels  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: sepgsql where are the security labels
Re: sepgsql where are the security labels
List pgsql-general
This table maintains information about the context of postgresql
objects not the data in tables.

On Wed, Nov 12, 2014 at 5:56 PM, Adrian Klaver
<adrian.klaver@aklaver.com> wrote:
> On 11/12/2014 02:45 PM, Ted Toth wrote:
>>
>> I'm running selinux mls policy I've got labeled ipsec working and my
>> postgresql configured to load
>> sepgsql. I've created a db, run the sepgsql.sql script on it, created
>> tables and inserted data. How do I
>> query the security labels on the data?
>
>
> I do not use SECURITY LABELS, but it seems they can be queried here:
>
> http://www.postgresql.org/docs/9.3/interactive/view-pg-seclabels.html
>
>
>  As best I can tell there is no
>>
>> security_context
>> column on either of the tables I've created that I see? How does the
>> system column security_context get added to tables? I've read
>> everything I can find on the web but
>> a lot of it is dated. Here's how I'm creating my db and tables:
>>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Two instances of Postgres with single data directory
Next
From: Brilliantov Kirill Vladimirovich
Date:
Subject: Re: After insert trigger not work