<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Postgres connection: Identifying the originator (user) in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695087#M20548</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350225"&gt;@StefanM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://www.pgadmin.org/download/" target="_self"&gt;pgAdmin&lt;/A&gt;&amp;nbsp;to monitor different aspects of the PostgreSQL database. It has a Dashboard with different metrics, out of which there is one for 'Server Activity' which has a section for sessions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you also please clarify what do you mean by technical user?&lt;/P&gt;
&lt;P&gt;In SAS to run stored process there is a managed account 'sassrv' (also called service or system accounts. Default is 'sassrv' can vary at your site) which is the owner of the SAS stored process session and if required it can make a connection to the DB which is normal. You will see the connection with this user itself.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 03:28:57 GMT</pubDate>
    <dc:creator>AnandVyas</dc:creator>
    <dc:date>2020-10-29T03:28:57Z</dc:date>
    <item>
      <title>Postgres connection: Identifying the originator (user)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/694790#M20533</link>
      <description>&lt;P&gt;My problem is to identify the user who is responsible for the postgres connection(s).&lt;/P&gt;&lt;P&gt;I see many connections but they are all from a technical user not the real one.&lt;/P&gt;&lt;P&gt;Following the connection I identified (in this case) a sas process running with a(nother) technical user id too:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sasexe/sas -memsize 0 -cpucount ACTUAL -noterminal -nox cmd -netencryptalgorithm SASProprietary -metaserver xxx -metaport 8561 -metarepository Foundation -locale en_US -objectserver -objectserverparms protocol=bridge spawned spp=35155 cid=191 dnsmatch=xxx pb classfactory=440196 D4-90F0-11D0-9F41-00A024BB830C server=OMSOBJ:SERVERCOMPONENT/A53WXQBY.AZ000009 cel=credentials recon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is this? How I can find the real user who is responsible?&lt;/P&gt;&lt;P&gt;Are there technical documentation avail for linux/prostgres admins?&lt;BR /&gt;&lt;BR /&gt;I'm pretty new to SAS but know that all user interactions are running as stored procedures.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/694790#M20533</guid>
      <dc:creator>StefanM</dc:creator>
      <dc:date>2020-10-28T10:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres connection: Identifying the originator (user)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695087#M20548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350225"&gt;@StefanM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://www.pgadmin.org/download/" target="_self"&gt;pgAdmin&lt;/A&gt;&amp;nbsp;to monitor different aspects of the PostgreSQL database. It has a Dashboard with different metrics, out of which there is one for 'Server Activity' which has a section for sessions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you also please clarify what do you mean by technical user?&lt;/P&gt;
&lt;P&gt;In SAS to run stored process there is a managed account 'sassrv' (also called service or system accounts. Default is 'sassrv' can vary at your site) which is the owner of the SAS stored process session and if required it can make a connection to the DB which is normal. You will see the connection with this user itself.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 03:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695087#M20548</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-10-29T03:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres connection: Identifying the originator (user)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695099#M20550</link>
      <description>&lt;P&gt;I know, pgadmin shows me the last statement on top but like "ps -ef" only the technical user, means all connections have the same userid&lt;/P&gt;&lt;P&gt;So ever postgres process is shown with the same unix (technical sasuser) user and the client with sassrv, started from Stored Process server.&lt;/P&gt;&lt;P&gt;But behind this is a real user which I want to identify who pressed the button to initiate the stored process.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How this can be archived?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695099#M20550</guid>
      <dc:creator>StefanM</dc:creator>
      <dc:date>2020-10-29T06:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Postgres connection: Identifying the originator (user)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695106#M20551</link>
      <description>&lt;P&gt;Since all the STP session are triggered by STP account 'sassrv' I don't think there is any OOTB feature that can create a mapping or audit trail to the actual end-user. You can write custom code to filter these information from the application server logs, may be. But the STP can be triggered in a number of ways, catering to all of that could be tedious.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If have exposed STP as BI service, I think you can check the number of requests in the Web Server logs.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Postgres-connection-Identifying-the-originator-user/m-p/695106#M20551</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-10-29T06:58:39Z</dc:date>
    </item>
  </channel>
</rss>

