<?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>Question Re: Linux / sapuxuserchk / sapcpe in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/linux-sapuxuserchk-sapcpe/qaa-p/603111#M142912</link>
    <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
  &lt;P&gt;The sapuxuserchk is still used / might still be required, depending on your servers' / landscape configuration.&lt;/P&gt;
  &lt;P&gt;Thus, I would say that it still recommended to updated it and set the appropriate permissions (&lt;A href="https://en.wikipedia.org/wiki/Setuid" target="_blank"&gt;suid bit&lt;/A&gt;, owned by "root:sapsys").&lt;/P&gt;
  &lt;P&gt;One test you could do is to remove the suid bit and change the ownership of the file to "SIDadm:sapsys". Then, logon with a user that is &lt;EM&gt;not&lt;/EM&gt; SIDadm and execute:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;/path/to/sapcontrol -nr XX -queryuser -function AccessCheck Stop&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;- "XX" is the instance number&lt;/P&gt;
  &lt;P&gt;- With the "queryuser" argument, sapcontrol will ask for a user/password interactively. Provide the SIDadm credentials.&lt;/P&gt;
  &lt;P&gt;If the sapcontrol command works while sapuxuserchk does not have suid and is owned by root:sapsys, then the auxiliary tool sapuxuserchk would not be required at your environment.&lt;/P&gt;
  &lt;P&gt;If it fails, set the suid again and change the ownership back to root:sapsys. Repeat the test and it should be successful this time.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Isaías&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 12:46:39 GMT</pubDate>
    <dc:creator>Isaias_SAP</dc:creator>
    <dc:date>2018-05-29T12:46:39Z</dc:date>
    <item>
      <title>Linux / sapuxuserchk / sapcpe</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-sapuxuserchk-sapcpe/qaq-p/603110</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;I'm wondering how you deal with sapuxuserchk and/or why SAP does not cope with the below problem:&lt;/P&gt;
  &lt;P&gt;* When we installed SAP Systems / SAP Kernel patches manually in the past we executed saproot.sh, which sets sticky bit and permissions for the file sapuxuserchk in ASCS and DVEBMGS kernel folders&lt;/P&gt;
  &lt;P&gt;* If we now do updates/kernel patches via SUM oder elselike I more often realise these sapuxuserchk executables are never overwritten, because normally this takes care via sapcpe which cannot overwrite these files due to root-ownership&lt;/P&gt;
  &lt;P&gt;Currently, we deployed newest kernels via SUM SPS maintenance; files sapuxuserchk however, are still dated 2014 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;Of course, I can do this manually; with &amp;gt;100 SAPSIDs this kind of a time consuming task.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;How do you cope with that?&lt;/P&gt;
  &lt;P&gt;Why does SAP not make sure a new copy of sapuxuserchk is written to DIR_EXE if I execute saproot.sh or cope with that problem during SUM runs or the like?&lt;/P&gt;
  &lt;P&gt;Do I still need to execute saproot.sh / set sticky-bits and ownership in current kernel at all? Because all I can find in official SAP notes refers to old 720-kernels &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Curious regards&lt;/P&gt;
  &lt;P&gt;Michael&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 08:30:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-sapuxuserchk-sapcpe/qaq-p/603110</guid>
      <dc:creator>schuess</dc:creator>
      <dc:date>2018-05-29T08:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linux / sapuxuserchk / sapcpe</title>
      <link>https://community.sap.com/t5/technology-q-a/linux-sapuxuserchk-sapcpe/qaa-p/603111#M142912</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
  &lt;P&gt;The sapuxuserchk is still used / might still be required, depending on your servers' / landscape configuration.&lt;/P&gt;
  &lt;P&gt;Thus, I would say that it still recommended to updated it and set the appropriate permissions (&lt;A href="https://en.wikipedia.org/wiki/Setuid" target="_blank"&gt;suid bit&lt;/A&gt;, owned by "root:sapsys").&lt;/P&gt;
  &lt;P&gt;One test you could do is to remove the suid bit and change the ownership of the file to "SIDadm:sapsys". Then, logon with a user that is &lt;EM&gt;not&lt;/EM&gt; SIDadm and execute:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;/path/to/sapcontrol -nr XX -queryuser -function AccessCheck Stop&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;- "XX" is the instance number&lt;/P&gt;
  &lt;P&gt;- With the "queryuser" argument, sapcontrol will ask for a user/password interactively. Provide the SIDadm credentials.&lt;/P&gt;
  &lt;P&gt;If the sapcontrol command works while sapuxuserchk does not have suid and is owned by root:sapsys, then the auxiliary tool sapuxuserchk would not be required at your environment.&lt;/P&gt;
  &lt;P&gt;If it fails, set the suid again and change the ownership back to root:sapsys. Repeat the test and it should be successful this time.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Isaías&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 12:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/linux-sapuxuserchk-sapcpe/qaa-p/603111#M142912</guid>
      <dc:creator>Isaias_SAP</dc:creator>
      <dc:date>2018-05-29T12:46:39Z</dc:date>
    </item>
  </channel>
</rss>

