<?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: Hot to restrict access to SAS Studio 4.4 in Viya in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560808#M352</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223155"&gt;@BeNur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;How high is that module is in the stack? The module should be before pam_unix or any other modules you are using for the authentication. Also, the following command will help you debug it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sudo grep sasauth /var/log/secure&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you see no pam_succeed_if in the output, that means you have to place that module higher in the stack.&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 12:43:07 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2019-05-22T12:43:07Z</dc:date>
    <item>
      <title>Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560300#M349</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have SAS Viya 3.4 deployed in Linux. It contains SAS Studio (v 4.4) and SAS StudioV ( v. 5.1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;I restricted access to&amp;nbsp;SAS StudioV using prohibit Rule (/SAS StudioV/** ) in SAS Viya Environment Manager.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody know how to restrict access to SAS Studio 4.4?&lt;/P&gt;&lt;P&gt;The rule / SAS Studio/** doesn't work and I believe it shouldn't work cause SAS Studio 4.4 is not controlled by Viya.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 22:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560300#M349</guid>
      <dc:creator>BeNur</dc:creator>
      <dc:date>2019-05-20T22:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560322#M350</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223155"&gt;@BeNur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way is to use &lt;STRONG&gt;pam_succeed_if&lt;/STRONG&gt; module in /etc/pam.d/sasauth file.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 01:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560322#M350</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-21T01:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560617#M351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your response. I tried to add :&lt;/P&gt;&lt;P&gt;auth required pam_succeed_if.so gid=1001,500001129&lt;/P&gt;&lt;P&gt;(where1001,500001129 my ldap groups that should be allowed to ) into the&amp;nbsp;/etc/pam.d/sasauth-spre file but it didn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can provide me an example of your sasauth-spre file&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to deny access for the group with the id 222 and allow access to the group with id = 1001,500001129&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 18:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560617#M351</guid>
      <dc:creator>BeNur</dc:creator>
      <dc:date>2019-05-21T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560808#M352</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223155"&gt;@BeNur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;How high is that module is in the stack? The module should be before pam_unix or any other modules you are using for the authentication. Also, the following command will help you debug it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sudo grep sasauth /var/log/secure&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you see no pam_succeed_if in the output, that means you have to place that module higher in the stack.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 12:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560808#M352</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-22T12:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560898#M353</link>
      <description>thanks a lot that helped</description>
      <pubDate>Wed, 22 May 2019 17:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560898#M353</guid>
      <dc:creator>BeNur</dc:creator>
      <dc:date>2019-05-22T17:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hot to restrict access to SAS Studio 4.4 in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560900#M354</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223155"&gt;@BeNur&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are welcome. I'm glad that the problem has been resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 17:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Hot-to-restrict-access-to-SAS-Studio-4-4-in-Viya/m-p/560900#M354</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-22T17:23:05Z</dc:date>
    </item>
  </channel>
</rss>

