<?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: System security in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541831#M30622</link>
    <description>Thanks Joseph for letting me know about that.Yes you are right now i have removed the write permission from world.&lt;BR /&gt;&lt;BR /&gt;$ dir apps.com/sec&lt;BR /&gt;Directory SYS$SYSROOT:[SYSMGR]&lt;BR /&gt;APPS.COM;1           [SYSTEM]                         (RWED,RWED,RWED,RE)&lt;BR /&gt;          (IDENTIFIER=[TEST],ACCESS=READ+WRITE+EXECUTE+DELETE)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Dec 2009 09:26:15 GMT</pubDate>
    <dc:creator>Sumant M Kumar</dc:creator>
    <dc:date>2009-12-02T09:26:15Z</dc:date>
    <item>
      <title>System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541822#M30613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I need to set delete permission for test user who belongs to group [200,*].There are four test users in [200,*] group test,test1,test2 &amp;amp; test3.There is file SYS$SYSROOT:[SYSMGR]apps.com and permission is as below &lt;BR /&gt;$ dir/sec SYS$SYSROOT:[SYSMGR]apps.com&lt;BR /&gt;Directory SYS$SYSROOT:[SYSMGR]&lt;BR /&gt;apps.com;1   [SYSTEM] (RWED,RWED,RWED,RWE)&lt;BR /&gt;&lt;BR /&gt;Now i need to set Delete permission for the user test but not for all the group so for that i used ACL but still i am unable to delete apps.com file.&lt;BR /&gt;&lt;BR /&gt;$set security/acl=(identifier=[test],access=read+write+execute+delete] apps.com&lt;BR /&gt;&lt;BR /&gt;When i logged in as test user and tried to delete the file its throwing errro "insufficient privilege".&lt;BR /&gt;&lt;BR /&gt;Could you please suggest me if i need to use any ACL qualifier.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant                         &lt;BR /&gt;</description>
      <pubDate>Tue, 01 Dec 2009 06:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541822#M30613</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2009-12-01T06:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541823#M30614</link>
      <description>&lt;!--!*#--&gt;It might help if we could see the output from&lt;BR /&gt;a new "dire /secu" command.  Also, the actual&lt;BR /&gt;"delete" command (and its actual error&lt;BR /&gt;message).</description>
      <pubDate>Tue, 01 Dec 2009 06:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541823#M30614</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-01T06:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541824#M30615</link>
      <description>&lt;!--!*#--&gt;One other likely problem.  As the HELP says:&lt;BR /&gt;&lt;BR /&gt;DELETE&lt;BR /&gt;&lt;BR /&gt;  file&lt;BR /&gt;&lt;BR /&gt;       Deletes one or more files from a mass storage disk volume.&lt;BR /&gt;&lt;BR /&gt;       Requires delete (D) access to the file and write (W) access to&lt;BR /&gt;       the parent directory. If the target file is itself a directory,&lt;BR /&gt;       the directory must be empty.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Write access to the file's parent directory?</description>
      <pubDate>Tue, 01 Dec 2009 06:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541824#M30615</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-01T06:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541825#M30616</link>
      <description>To delete a file the process must have delete access to the file (in your case APPS.COM) and also write access to the directory that the file is in, in your case sys$sysroot:[000000]sysmgr.dir&lt;BR /&gt;&lt;BR /&gt;If what you are showing us is actual output, that file will be&lt;BR /&gt;&lt;BR /&gt;sys$specifiec:[000000]sysmgr.dir&lt;BR /&gt;&lt;BR /&gt;or to determine absolute path:&lt;BR /&gt;&lt;BR /&gt;$ TOPSYS = F$TRNLNM("SYS$TOPSYS")&lt;BR /&gt;$ DIR/SEC SYS$SYSDEVICE:['TOPSYS']SYSMGR.DIR&lt;BR /&gt;&lt;BR /&gt;I would recommend moving APPS.COM out of SYS$MANAGER.  In general it is best not to hand out write access to this directory.&lt;BR /&gt;&lt;BR /&gt;See the guide to system security - chapter 8.</description>
      <pubDate>Tue, 01 Dec 2009 06:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541825#M30616</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-12-01T06:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541826#M30617</link>
      <description>Sumant,&lt;BR /&gt;&lt;BR /&gt;As has been noted, access to the directory is required so that the file's directory entry can be removed.&lt;BR /&gt;&lt;BR /&gt;Please note that this is a good reason to move such files out of the SYS$SYSROOT:[SYSMGR] directory. Giving a user sufficient access to manipulate this file ALSO gives them sufficient privilege to disrupt that directory.&lt;BR /&gt;&lt;BR /&gt;Since that directory is critical to system operation, I would strongly counsel movbing that file to a different directory. This prevents accidental collateral damage.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Dec 2009 08:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541826#M30617</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-12-01T08:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541827#M30618</link>
      <description>You will want to consider the use an OpenVMS resource identifier here in preference to the current UIC-based approach being discussed; resource identifiers are more flexible and more manageable, and can easily be configured (for instance) across UIC groups.&lt;BR /&gt;&lt;BR /&gt;Here's a short write-up on how to set up a resource identifier and the related security and (if needed) disk quotas for a shared project directory:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1450" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1450&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This example shows delete access for the resource identifier.  In your specific case, you'd likely look to remove that access from both the default protection ACE and the protection ACE, and to add a parallel default protection ACE and protection ACE for the specific user (or probably better, for a user with a specific identifier) that allowed delete access.   These two ACEs almost exactly parallel the ACEs shown in the cited example, though would be for, say, FOO_MANAGE identifier.&lt;BR /&gt;&lt;BR /&gt;OpenVMS resource identifiers differ from standard security identifiers in the assignment of ownership and the ability to associate (if needed) a disk quota entry with identifier.</description>
      <pubDate>Tue, 01 Dec 2009 13:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541827#M30618</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-12-01T13:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541828#M30619</link>
      <description>Sumant,&lt;BR /&gt;&lt;BR /&gt;  To diagnose any file manipulation command which fails with "insufficient privilege", &lt;BR /&gt;open a new window and enable it as a security operator console (needs OPER and SECURITY privilege)&lt;BR /&gt;&lt;BR /&gt;$ REPLY/ENABLE=SECURITY&lt;BR /&gt;&lt;BR /&gt;Now enable audit alarms of file access failures:&lt;BR /&gt;&lt;BR /&gt;(needs SECURITY privilege)&lt;BR /&gt;&lt;BR /&gt;$ SET AUDIT/ALARM=ENABLE=FILE=FAIL=ALL&lt;BR /&gt;&lt;BR /&gt;Now repeat your failing command.&lt;BR /&gt;&lt;BR /&gt;This should generate an audit alarm telling you exactly which file is failing, what type of access has been requested, and why it's failing. It's often not the file you think it is.</description>
      <pubDate>Tue, 01 Dec 2009 20:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541828#M30619</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-12-01T20:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541829#M30620</link>
      <description>Thanks for your all suggestions now i am able to delete the file as a test user.I set the (g:rwed,w:re) permission on sysmgr.dir directory and also set the acl for the test user.&lt;BR /&gt;Directory SYS$SYSROOT:[SYSMGR]&lt;BR /&gt;Apps.com;1           [SYSTEM]                         (RWED,RWED,RWED,RWE)&lt;BR /&gt;          (IDENTIFIER=[TEST],ACCESS=READ+WRITE+EXECUTE+DELETE)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2009 07:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541829#M30620</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2009-12-02T07:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541830#M30621</link>
      <description>Just a side note:&lt;BR /&gt; Apps.com;1 [SYSTEM] (RWED,RWED,RWED,RWE)&lt;BR /&gt;has WORLD WRITE access!&lt;BR /&gt;I hope this is not the default protection of the owner SYSTEM !&lt;BR /&gt;Check with SHOW PROTECTION.</description>
      <pubDate>Wed, 02 Dec 2009 08:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541830#M30621</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-12-02T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541831#M30622</link>
      <description>Thanks Joseph for letting me know about that.Yes you are right now i have removed the write permission from world.&lt;BR /&gt;&lt;BR /&gt;$ dir apps.com/sec&lt;BR /&gt;Directory SYS$SYSROOT:[SYSMGR]&lt;BR /&gt;APPS.COM;1           [SYSTEM]                         (RWED,RWED,RWED,RE)&lt;BR /&gt;          (IDENTIFIER=[TEST],ACCESS=READ+WRITE+EXECUTE+DELETE)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541831#M30622</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2009-12-02T09:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541832#M30623</link>
      <description>Group users still have rwed. You said 1 user only so the d should go too.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 02 Dec 2009 09:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541832#M30623</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-12-02T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541833#M30624</link>
      <description>Sumant,&lt;BR /&gt;&lt;BR /&gt;please, PLEASE read (and follow) the advise by Bob G (also hinted by Jon P) about MOVING ANY NON-OS stuff AWAY from [SYSMGR]  (and all other SYS$SYSROOT directories)  !!!&lt;BR /&gt;&lt;BR /&gt;I have seen DISASTROUS thing happen by it!!&lt;BR /&gt;&lt;BR /&gt;success.&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>Wed, 02 Dec 2009 10:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541833#M30624</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2009-12-02T10:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541834#M30625</link>
      <description>Yes, stay clear of SYS$SYSROOT.&lt;BR /&gt;&lt;BR /&gt;It's a certainty that the SYS$SYSROOT searchlist does not work as might be expected.  There are all manner of corner cases lurking within searchlists that can trip up even the most experienced of OpenVMS programmers.  Files aren't necessarily where you might expect, and multiple directories must be created or you can get errors you might not expect.&lt;BR /&gt;&lt;BR /&gt;Use your own top-level directory.</description>
      <pubDate>Wed, 02 Dec 2009 13:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541834#M30625</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-12-02T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541835#M30626</link>
      <description>You really really want to move user stuff out of the main system directory.  One wrong slip up and you may end up rebuilding a broken system.&lt;BR /&gt;&lt;BR /&gt;Do you have another disk that it can be moved to? Show dev D&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2009 15:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541835#M30626</guid>
      <dc:creator>Peter Zeiszler</dc:creator>
      <dc:date>2009-12-02T15:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: System security</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541836#M30627</link>
      <description>Hello Guru's,&lt;BR /&gt;&lt;BR /&gt;            I have moved the file from system disk to data disk(DKA100) and revoked the default permission on dka5:[sys0]sysmgr.dir&lt;BR /&gt;&lt;BR /&gt;Now i have a better idea about ACL and setting permissions on dir/users &amp;amp; files and impact if i set wrongly on system directories.Thanks a lot for your valuable time and guidance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sumant</description>
      <pubDate>Thu, 03 Dec 2009 03:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/system-security/m-p/4541836#M30627</guid>
      <dc:creator>Sumant M Kumar</dc:creator>
      <dc:date>2009-12-03T03:03:51Z</dc:date>
    </item>
  </channel>
</rss>

