<?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: How to resrtict users from executing chown command? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496534#M883186</link>
    <description>This could help:&lt;BR /&gt;&lt;BR /&gt;chmod 700 /bin/chown&lt;BR /&gt;&lt;BR /&gt;Or set up a new group then change the group owner to the new one, then add the new group to the users you want to restrict chown.&lt;BR /&gt;&lt;BR /&gt;Marco</description>
    <pubDate>Tue, 06 Mar 2001 15:47:32 GMT</pubDate>
    <dc:creator>Marco Hernandez_1</dc:creator>
    <dc:date>2001-03-06T15:47:32Z</dc:date>
    <item>
      <title>How to resrtict users from executing chown command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496532#M883184</link>
      <description />
      <pubDate>Wed, 21 Feb 2001 03:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496532#M883184</guid>
      <dc:creator>Upul Edirisinghe</dc:creator>
      <dc:date>2001-02-21T03:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to resrtict users from executing chown command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496533#M883185</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can set ACL on the chown binary so that only userids in the ACL listing can execute the chown command.&lt;BR /&gt;&lt;BR /&gt;ACL is available on HFS and JFS 3.3. man chacl on the syntax of setting it. Example:&lt;BR /&gt;&lt;BR /&gt;# chacl '(abc.%,r-x)(def.%,r-x)' `which chown`&lt;BR /&gt;&lt;BR /&gt;i.e. Only the users abc and def can execute the chown command.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Wed, 21 Feb 2001 06:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496533#M883185</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-02-21T06:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to resrtict users from executing chown command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496534#M883186</link>
      <description>This could help:&lt;BR /&gt;&lt;BR /&gt;chmod 700 /bin/chown&lt;BR /&gt;&lt;BR /&gt;Or set up a new group then change the group owner to the new one, then add the new group to the users you want to restrict chown.&lt;BR /&gt;&lt;BR /&gt;Marco</description>
      <pubDate>Tue, 06 Mar 2001 15:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496534#M883186</guid>
      <dc:creator>Marco Hernandez_1</dc:creator>
      <dc:date>2001-03-06T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to resrtict users from executing chown command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496535#M883187</link>
      <description>Hi&lt;BR /&gt;Change permission on /sbin/chown to 554. It will allow only root (members on bin group) to execute this command.&lt;BR /&gt;# chmod 554 /sbin/chown&lt;BR /&gt;# ls -l /sbin/chown&lt;BR /&gt;r-xr-xr--  1  bin  bin  200704 Nov 7 1997  /sbin/chown.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.</description>
      <pubDate>Tue, 06 Mar 2001 17:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496535#M883187</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-03-06T17:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to resrtict users from executing chown command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496536#M883188</link>
      <description>Hi&lt;BR /&gt;CHOWN is a global privilege (see setprivgrp (1m)) test to be sure this is what you want.&lt;BR /&gt;&lt;BR /&gt;# getprivgroup&lt;BR /&gt;global privilege: chown&lt;BR /&gt;&lt;BR /&gt;# echo ?n &amp;gt; /etc/privgroup&lt;BR /&gt;# chmod 400 /etc/privgroup&lt;BR /&gt;To add CHOWN and other global comands for specific groups see the following example:&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;To add CHOWN and MLOCK for dba group or users.&lt;BR /&gt;echo dba CHOWN MLOCK &amp;gt;&amp;gt; /etc/privgroup&lt;BR /&gt;&lt;BR /&gt;# sbin/init.d/set_prvgrp start&lt;BR /&gt;&lt;BR /&gt;# getprivgrp&lt;BR /&gt;global privileges: &lt;BR /&gt;dba: MLOCK CHOWN&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Peggy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2001 18:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-resrtict-users-from-executing-chown-command/m-p/2496536#M883188</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-03-06T18:01:04Z</dc:date>
    </item>
  </channel>
</rss>

