<?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: Change SAS Logs Access Level in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706044#M21012</link>
    <description>&lt;P&gt;As described in the acledit documentation, you set the extended permissions to enabled and then add a stanza&lt;/P&gt;
&lt;PRE&gt;permit r-x u:username&lt;/PRE&gt;
&lt;P&gt;(x must be set on directories, so the user in question can cd there; don't set it on files)&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 15:29:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-12-15T15:29:18Z</dc:date>
    <item>
      <title>Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/705778#M20989</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;How can we implement chmod o+r ( read access to other) in SAS?&lt;/P&gt;&lt;P&gt;We need to provide the read access to followings logs. We can change permission of historical logs in Unix by chmod 0+r How we setup permission for new sas logs?&lt;/P&gt;&lt;P&gt;1)MetadataServer&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;ObjectSpawner&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;OLAPServer&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;TableServer&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, 14 Dec 2020 17:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/705778#M20989</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-14T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/705790#M20990</link>
      <description>&lt;P&gt;Log permissions are based on the umask setting. If you default umask is too limited you can updated the servers' associated _usermods.sh file to change the umask. This is described in the SAS Note below.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/38/040.html" target="_blank" rel="noopener"&gt;Usage Note 38040: Setting umask and ulimit values for SAS® sessions on UNIX and Linux&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also modify the logconfig.xml file being used by the server and specify the permissions in the appender definition (see FilePermissions parameter).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=logug&amp;amp;docsetTarget=p0vt6dps7nzkbgn0zntzi3qs3a0d.htm&amp;amp;locale=en" target="_self"&gt;SAS Logging Facility: FileAppender&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 17:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/705790#M20990</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-12-14T17:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706036#M21009</link>
      <description>&lt;P&gt;Thanks for the reply. Is there any way to provide the read permission to only one user which is belong to "OTHERS". He is not a member of any group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried ACL but its now&amp;nbsp;getfacl command is not working in AIX server. Please advise?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 14:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706036#M21009</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-15T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706041#M21010</link>
      <description>&lt;P&gt;The commands in AIX are &lt;A href="https://www.ibm.com/support/knowledgecenter/ssw_aix_72/a_commands/aclget.html" target="_blank" rel="noopener"&gt;aclget&lt;/A&gt;, &lt;A href="https://www.ibm.com/support/knowledgecenter/ssw_aix_72/a_commands/aclput.html" target="_blank" rel="noopener"&gt;aclput&lt;/A&gt; and &lt;A href="https://www.ibm.com/support/knowledgecenter/ssw_aix_72/a_commands/acledit.html" target="_blank" rel="noopener"&gt;acledit&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I would create a template file, use acledit to set the access control list for this file once, and then use&lt;/P&gt;
&lt;PRE&gt;aclget template|aclput &amp;lt;logfile&amp;gt;&lt;/PRE&gt;
&lt;P&gt;in your code to transfer the ACL to your logfile.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 15:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706041#M21010</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-15T15:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706042#M21011</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;Thanks, these commands are working in AIX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please share the small example how can we use to provide read access to one user(OTHERS) on the following logs?&lt;/P&gt;&lt;P&gt;/usr/opt/SAS/SAS94/Lev1/ObjectSpawner/&lt;BR /&gt;/usr/opt/SAS/SAS94//Lev1/SASApp/OLAPServer/&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 15:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706042#M21011</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-15T15:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706044#M21012</link>
      <description>&lt;P&gt;As described in the acledit documentation, you set the extended permissions to enabled and then add a stanza&lt;/P&gt;
&lt;PRE&gt;permit r-x u:username&lt;/PRE&gt;
&lt;P&gt;(x must be set on directories, so the user in question can cd there; don't set it on files)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 15:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706044#M21012</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-15T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706065#M21014</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have thousand of logs in these dir its very time consuming process to provide the read access to all these logs file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested one file and its working fine. Can we automate this task by writing any script? please advise.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706065#M21014</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-15T17:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706078#M21015</link>
      <description>&lt;P&gt;You can make the files themselves world-readable (which is the case when using the default umask of 022), and control access by setting the ACL of the directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="3"&gt;&lt;FONT size="2"&gt;Edit: changed umask value to 022 (from 002)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706078#M21015</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-16T15:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706265#M21021</link>
      <description>&lt;P&gt;I'd be inclined to set the setuid bit (+s) for that person in the ACL for the parent directory. That way, their permissions will be applied to any files created in the directory.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 09:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706265#M21021</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-12-16T09:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706319#M21024</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13516"&gt;@Nigel_Pain&lt;/a&gt;&amp;nbsp;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the example to implement on AIX? Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706319#M21024</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-16T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706340#M21025</link>
      <description>&lt;P&gt;Apologies,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124001"&gt;@japsas100&lt;/a&gt;, I don't know AIX. And I'm trawling the back of my memory here, as I haven't worked with a UNIX system for quite a while. But in the permissions set, as well as the RWX flags there's also the setuid/setgid ones, which can be applied to user or group permissions with "+s". Once it's applied it appears as an "s" instead of the "x".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Doing some real memory dredging, I think with the setfacl command for Solaris, you can also have default entries in ACLs, and I think they set the ACLs for any directory contents which are created. So you might get an equivalent with AIX. But I'll have to defer to other more knowledgeable, and more recently experienced folk to confirm what I'm saying, or not.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;can you help here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 15:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706340#M21025</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2020-12-16T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706356#M21026</link>
      <description>&lt;P&gt;First, look at the permission of a log file as it is written now. I think it should be world-readable (-rw-r--r--). If that is the case, any blocking of "unwanted" readers happens on the directory. If you implement the ACL there and enable that special user (permit r-x u:username), you should be good.&lt;/P&gt;
&lt;P&gt;acledit works by running aclget, edit the result with vi, and the using aclput to set the ACL from the edited file. So you need a little basic knowledge of the vi editor.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 16:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706356#M21026</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-16T16:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706363#M21027</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per business requirement, we can't provide the&amp;nbsp;&lt;SPAN&gt;world-readable (-rw-r--r--) to all the logs. We use AIX acledit command to create a template at folder lever.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for example&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 1) export EDITOR=/usr/bin/vi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Step 2) change the extended permissons as needed on Logs Dir (&lt;I&gt;&lt;STRONG&gt;permit r-- u:tmpsas&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;STRONG&gt;Step 3)&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;set the ACL recursive&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;aclget Logs | aclput -R Logs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With these steps we will provide the required read access to tmpsas user but how I can provide the same access to new files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see new files are creating with default permission but I want to provide the same level access to new files as well. Do I need to create the shell script that will run on daily basis and provide the required access or is there any other simplest way?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 16:37:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706363#M21027</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2020-12-16T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change SAS Logs Access Level</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706373#M21028</link>
      <description>&lt;P&gt;Using NFS4 access control lists allows you to specify inheritance, but I am not familiar with those.&lt;/P&gt;
&lt;P&gt;Do a google search for "aix nfs4 acl" to find out more.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 16:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Change-SAS-Logs-Access-Level/m-p/706373#M21028</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-16T16:57:27Z</dc:date>
    </item>
  </channel>
</rss>

