<?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: INSTALL installed with privileges? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957089#M74297</link>
    <description>Again, thank you for your thoughts! I am closing this thread because it tends to steer off topic.&lt;BR /&gt;&lt;BR /&gt;I have seen several other lines in VMSIMAGES.DAT which raised my eyebrows, but the one for INSTALL made me post the question.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Bart Zorn&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Feb 2006 02:46:06 GMT</pubDate>
    <dc:creator>Bart Zorn_1</dc:creator>
    <dc:date>2006-02-07T02:46:06Z</dc:date>
    <item>
      <title>INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957079#M74287</link>
      <description>Does anybody know why INSTALL.EXE is installed with /PRIV=(CMKRNL,SYSGBL,PRMGBL,SHMEM,AUDIT) ?&lt;BR /&gt;&lt;BR /&gt;I would expect a tool like that to rely on the process privileges of the system manager!&lt;BR /&gt;&lt;BR /&gt;Bart Zorn&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 05:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957079#M74287</guid>
      <dc:creator>Bart Zorn_1</dc:creator>
      <dc:date>2006-02-03T05:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957080#M74288</link>
      <description>Bart,&lt;BR /&gt;&lt;BR /&gt;maybe to allow users without CMKRNL to use INSTALL LIST commands to obtain information about installed images etc. ?&lt;BR /&gt;&lt;BR /&gt;To actually install any images, you need CMKRNL anyway (INSTALL checks for that).&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Fri, 03 Feb 2006 12:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957080#M74288</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-02-03T12:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957081#M74289</link>
      <description>Bart,&lt;BR /&gt;&lt;BR /&gt;  The INSTALL utility is documented to require CMKRNL privilege. Some of the functions require other privileges. For example, LIST requires AUDIT privilege.&lt;BR /&gt;&lt;BR /&gt;  Rather than stipulate the specific combinations of privilege required for each command, the image is installed with the complete set. Some commands (like LIST) are permitted even for unprivileged users, others require CMKRNL.&lt;BR /&gt;&lt;BR /&gt;  Naturally INSTALL will work without being installed (otherwise, how could it get installed?), but then relies entirely on the privileges of the process which activated it, and will require more than just CMKRNL for some functions. To see what INSTALL does without being installed with privileges try:&lt;BR /&gt;&lt;BR /&gt;$ MCR INSTALL.EXE;&lt;BR /&gt;INSTALL&amp;gt; /LIST&lt;BR /&gt;-SYSTEM-F-NOAUDIT, operation requires AUDIT privilege&lt;BR /&gt;&lt;BR /&gt;(note that in this mode it uses the archaic command syntax which requires all commands to start with "/").&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Feb 2006 14:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957081#M74289</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-02-05T14:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957082#M74290</link>
      <description>I wonder how anyone knows what privs were given for which reason when they enherit a system.&lt;BR /&gt;&lt;BR /&gt;Audit = may direct audit to system security audit log&lt;BR /&gt;&lt;BR /&gt;What has install list to do with that ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 06 Feb 2006 02:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957082#M74290</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-06T02:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957083#M74291</link>
      <description>I know about the required privileges for the various functions of INSTALL, as documented. But that does not explain why the INSTALL image would need to be installed with those privileges. Checking for these privileges does not require them in the first place!&lt;BR /&gt;&lt;BR /&gt;And indeed, requiring AUDIT privilege for /LIST does not seem appropriate. Something like SYSPRV or CMKRNL looks more to the point.&lt;BR /&gt;&lt;BR /&gt;Thanks for your thoughts!&lt;BR /&gt;&lt;BR /&gt;Bart&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Feb 2006 03:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957083#M74291</guid>
      <dc:creator>Bart Zorn_1</dc:creator>
      <dc:date>2006-02-06T03:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957084#M74292</link>
      <description>Did you notice the other installed stuff :&lt;BR /&gt;&lt;BR /&gt;AUTHORIZE : AUDIT &lt;BR /&gt;MAIL_SERVER : SYSPRV&lt;BR /&gt;NCP : AUDIT (strange, we use NCL but NCL is not installed with privs while showing the same kind of info)&lt;BR /&gt;PHONE : SYSNAM, OPER&lt;BR /&gt;SET : BYPASS&lt;BR /&gt;SYSGEN : AUDIT&lt;BR /&gt;SYSMAN : AUDIT &lt;BR /&gt;TCPIP$FTP_CLIENT : OPER, PSWAPM (never saw this one before : may change process swap mode)&lt;BR /&gt;...&lt;BR /&gt;It seems that the author decides who can use the image for free.&lt;BR /&gt;&lt;BR /&gt;This is what the manual says about AUDIT :&lt;BR /&gt;&lt;BR /&gt;The AUDIT privilege allows software to append audit records to the system security audit log file using one of four system services: $AUDIT_EVENT, $CHECK_PRIVILEGE, $CHKPRO, or $CHECK_ACCESS. In addition, the $AUDIT_EVENT system service allows all components of an audit message to be specified. As a result, this privilege permits the logging of events that appear to have come from the operating system or a user process. &lt;BR /&gt;&lt;BR /&gt;Not quite correct I would say.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Feb 2006 03:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957084#M74292</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-06T03:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957085#M74293</link>
      <description>Re Wim:&lt;BR /&gt;&lt;BR /&gt;well, the use of AUDIT makes sense to me:&lt;BR /&gt;&lt;BR /&gt;"The AUDIT privilege allows software to append audit records to the system security audit log file using one of four system services: $AUDIT_EVENT, $CHECK_PRIVILEGE, $CHKPRO, or $CHECK_ACCESS"&lt;BR /&gt;&lt;BR /&gt;This is exactly what you are doing when AUDIT is SET for use of privs for access, or for signaling access failure etc.&lt;BR /&gt;&lt;BR /&gt;So, makes sense after all?&lt;BR /&gt;&lt;BR /&gt;my EUR 0.02&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Mon, 06 Feb 2006 06:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957085#M74293</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-06T06:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957086#M74294</link>
      <description>Jan,&lt;BR /&gt;&lt;BR /&gt;So, I need AUDIT to use authorize so it can write messages to the audit file.&lt;BR /&gt;&lt;BR /&gt;But when I have a file access failure and audit is enabled for file access failures, an audit message is written without requiring AUDIT from the process that had the active image.&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 06 Feb 2006 07:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957086#M74294</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-06T07:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957087#M74295</link>
      <description>&amp;gt;It seems that the author decides who &lt;BR /&gt;&amp;gt;can use the image for free.&lt;BR /&gt;&lt;BR /&gt;Precisely! For example: Normally an unprivileged user cannot get information about other processes through (say) $GETJPI. But the SHOW SYSTEM command can display that (privileged) information for any unprivileged user. Why? Because SHOW.EXE is installed with, among other things, WORLD privilege.&lt;BR /&gt;&lt;BR /&gt;Installing an image with privilege allows you to permit unprivileged users to perform privileged tasks in a controlled, and, hopefully, safe manner. Typically the image needs to explicitly enable and disable privilege as required to prevent loopholes where privilege can be exploited.&lt;BR /&gt;&lt;BR /&gt;So, INSTALL will allow an unprivileged user to issue a LIST command and get output, BUT it won't allow the same unprivileged user to INSTALL ADD an image. INSTALL checks for privileges for some operations, but not for others. &lt;BR /&gt;&lt;BR /&gt;&amp;gt;But when I have a file access failure &lt;BR /&gt;&amp;gt;and audit is enabled for file access &lt;BR /&gt;&amp;gt;failures, an audit message is written &lt;BR /&gt;&amp;gt;without requiring AUDIT from the process &lt;BR /&gt;&amp;gt;that had the active image.&lt;BR /&gt;&lt;BR /&gt;  Yes, the code thread issuing the message is either executing in a privileged image, or is in kernel mode, where all privileges are enabled. The important thing is entry into privileged images or modes is controlled to prevent abuse.</description>
      <pubDate>Mon, 06 Feb 2006 21:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957087#M74295</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-02-06T21:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957088#M74296</link>
      <description>&amp;gt;It seems that the author decides who &lt;BR /&gt;&amp;gt;can use the image for free.&lt;BR /&gt;&lt;BR /&gt;And if the author decided to give it for free anyone can do it (show sys), if not you need privs (show proc).&lt;BR /&gt;&lt;BR /&gt;If the rule is that you need privs for watching processes not belonging to you, show sys should adjust the output too. A bit like decservers that have even help adjusted according to privs.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 07 Feb 2006 02:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957088#M74296</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-02-07T02:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: INSTALL installed with privileges?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957089#M74297</link>
      <description>Again, thank you for your thoughts! I am closing this thread because it tends to steer off topic.&lt;BR /&gt;&lt;BR /&gt;I have seen several other lines in VMSIMAGES.DAT which raised my eyebrows, but the one for INSTALL made me post the question.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Bart Zorn&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Feb 2006 02:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/install-installed-with-privileges/m-p/4957089#M74297</guid>
      <dc:creator>Bart Zorn_1</dc:creator>
      <dc:date>2006-02-07T02:46:06Z</dc:date>
    </item>
  </channel>
</rss>

