<?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 Security on machine and chgrp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518917#M23311</link>
    <description>Here is a test I have run as an "normal" user that seems to be a little troublesome:&lt;BR /&gt;&lt;BR /&gt;touch test&lt;BR /&gt;chgrp root test&lt;BR /&gt;&lt;BR /&gt;Should it allow me to change the group to root if this user is not part of that group?</description>
    <pubDate>Thu, 19 Apr 2001 12:55:33 GMT</pubDate>
    <dc:creator>Eric Pullen</dc:creator>
    <dc:date>2001-04-19T12:55:33Z</dc:date>
    <item>
      <title>Security on machine and chgrp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518917#M23311</link>
      <description>Here is a test I have run as an "normal" user that seems to be a little troublesome:&lt;BR /&gt;&lt;BR /&gt;touch test&lt;BR /&gt;chgrp root test&lt;BR /&gt;&lt;BR /&gt;Should it allow me to change the group to root if this user is not part of that group?</description>
      <pubDate>Thu, 19 Apr 2001 12:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518917#M23311</guid>
      <dc:creator>Eric Pullen</dc:creator>
      <dc:date>2001-04-19T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Security on machine and chgrp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518918#M23312</link>
      <description>Hi,&lt;BR /&gt;if you create a file you have full control of that file.  You can make it readable/writable/executable to whoever you want.  You can change the group to each existing group.&lt;BR /&gt;You can even change the owner of the file, but then you loose control ;)&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Thu, 19 Apr 2001 13:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518918#M23312</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-04-19T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Security on machine and chgrp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518919#M23313</link>
      <description>Your MAC - Mandatory access controls -- allow you, as the owner to change all permissions on the file except ownership. Your DAC -- discretionary access controls, are up to you...&lt;BR /&gt;&lt;BR /&gt;for a safe(R!!) environment particularly WRT WWW, FTP etc, one should change the DAC attributes of a file. IE: for a file index.html, one could allow creation user the rights to change said file, however, for REAL security, give only the SU the right and group the R-X to the file, thus&lt;BR /&gt;----r-x---     root:www (create_date) index.html&lt;BR /&gt;&lt;BR /&gt;Thus the DAC is sorted. For even safer HTML, leave as 040, rather than 050, but if the file is EXE then one will need the 050.&lt;BR /&gt;MND</description>
      <pubDate>Thu, 19 Apr 2001 14:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518919#M23313</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2001-04-19T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Security on machine and chgrp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518920#M23314</link>
      <description>Just reread what I wrote, and yep, big booger.... the owner CAN change the ownership of the file, and that, for security reasons WRT www, ftp etc. is a good idea...&lt;BR /&gt;&lt;BR /&gt;My mantra:&lt;BR /&gt;MAC&lt;BR /&gt;DAC&lt;BR /&gt;authorisation... (hello Virtual vault)&lt;BR /&gt;&lt;BR /&gt;Works a treat.&lt;BR /&gt;MND</description>
      <pubDate>Thu, 19 Apr 2001 14:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518920#M23314</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2001-04-19T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Security on machine and chgrp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518921#M23315</link>
      <description>What Thierry said is correct.  Remember that changing the group on a file does not grant the owner of the file, or anyone else who might read/write/execute the file, any additional privileges.  If a user created a file, then changed permissions to 777, then changed the group to root and then the owner to root, the user would still have rwx to the file, but (assuming the file is executable) if they execute the file it will still run with their access privileges, so it won't be a security breach.  Also, if the owner is changed, then the user won't be able to re-change the owner, group, permissions, etc. so they'll be stuck.&lt;BR /&gt;&lt;BR /&gt;The thing you'd want to watch for is if you have executables somewhere run by superusers/system that had a user as the owner...</description>
      <pubDate>Fri, 20 Apr 2001 12:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-on-machine-and-chgrp/m-p/2518921#M23315</guid>
      <dc:creator>Andrew Maslin</dc:creator>
      <dc:date>2001-04-20T12:45:47Z</dc:date>
    </item>
  </channel>
</rss>

