<?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: setacl not working as expected. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689650#M549533</link>
    <description>The root filesystem is xvfs:&lt;BR /&gt;&lt;BR /&gt;# bdf /&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     212992  138744   73808   65% /&lt;BR /&gt;# fstyp /dev/vg00/lvol3&lt;BR /&gt;vxfs&lt;BR /&gt;&lt;BR /&gt;I've now tried amending the ACL for /usr/bin/telnet. This has meant I can restrict access to the executable, and it seems to work in practice. Not very pretty, but it works. Guess I can do the same with the SSH exe.&lt;BR /&gt;</description>
    <pubDate>Thu, 05 Jan 2006 10:46:44 GMT</pubDate>
    <dc:creator>Robin King_1</dc:creator>
    <dc:date>2006-01-05T10:46:44Z</dc:date>
    <item>
      <title>setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689641#M549524</link>
      <description>We're trying to stop a certain group from telneting/sshing out from a server. This is something that is done on Solaris within the firm, but this is the first time we're attempting it on HP-UX. &lt;BR /&gt;&lt;BR /&gt;They use setfacl on Solaris, I've used setacl on HP-UX. &lt;BR /&gt;&lt;BR /&gt;We're removed access to /dev/tcp and /dev/udp for a group called "hcl". &lt;BR /&gt;&lt;BR /&gt;Everything looks cool but doesn't have the desired affect. &lt;BR /&gt;&lt;BR /&gt;$ id&lt;BR /&gt;uid=98512(username) gid=106(hcl) groups=20(users)&lt;BR /&gt;$ groups&lt;BR /&gt;hcl users&lt;BR /&gt;$ getacl /dev/tcp&lt;BR /&gt;# file: /dev/tcp&lt;BR /&gt;# owner: root&lt;BR /&gt;# group: root&lt;BR /&gt;user::rw-&lt;BR /&gt;group::rw-&lt;BR /&gt;group:hcl:---&lt;BR /&gt;class:rw-&lt;BR /&gt;other:rw-&lt;BR /&gt;$ telnet 10.216.34.12 2222&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to 10.216.34.12.domain.com.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;SSH-1.99-OpenSSH_3.8p1&lt;BR /&gt;CLOSE&lt;BR /&gt;Protocol mismatch.&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;Here's how it works on Solaris: (group is called noaccess instead of hcl. &lt;BR /&gt;&lt;BR /&gt;$ id&lt;BR /&gt;uid=69(username) gid=0(root)&lt;BR /&gt;$ groups&lt;BR /&gt;root noaccess&lt;BR /&gt;$ getfacl /dev/tcp&lt;BR /&gt;&lt;BR /&gt;# file: /dev/tcp&lt;BR /&gt;# owner: root&lt;BR /&gt;# group: sys&lt;BR /&gt;user::rw-&lt;BR /&gt;group::rw-              #effective:rw-&lt;BR /&gt;group:noaccess:---              #effective:---&lt;BR /&gt;mask:rw-&lt;BR /&gt;other:rw-&lt;BR /&gt;$ getfacl /dev/udp&lt;BR /&gt;&lt;BR /&gt;# file: /dev/udp&lt;BR /&gt;# owner: root&lt;BR /&gt;# group: sys&lt;BR /&gt;user::rw-&lt;BR /&gt;group::rw-              #effective:rw-&lt;BR /&gt;group:noaccess:---              #effective:---&lt;BR /&gt;mask:rw-&lt;BR /&gt;other:rw-&lt;BR /&gt;$ telnet 10.216.34.12&lt;BR /&gt;&amp;lt;--- NOTE THAT AT THIS POINT, username CAN'T EVEN READ /dev/udp SO NAME LOOKUP FAILS&lt;BR /&gt;10.216.34.12: Unknown host&lt;BR /&gt;$ getfacl /dev/udp&lt;BR /&gt;&lt;BR /&gt;# file: /dev/udp&lt;BR /&gt;# owner: root&lt;BR /&gt;# group: sys&lt;BR /&gt;user::rw-&lt;BR /&gt;group::rw-              #effective:rw-&lt;BR /&gt;mask:rw-&lt;BR /&gt;other:rw-&lt;BR /&gt;$ telnet staupif1 2222   &amp;lt;--- AT THIS POINT, /dev/udp IS READABLE BUT /dev/tcp IS NOT&lt;BR /&gt;Trying 10.216.34.12...&lt;BR /&gt;telnet: socket: Permission denied&lt;BR /&gt;&lt;BR /&gt;Any ideas why we're not seeing the expected results?&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Dec 2005 10:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689641#M549524</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2005-12-12T10:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689642#M549525</link>
      <description>I noticed your user is part of more than the one "hcl" group...it is also part of the group "users"...you may want to limit their group membership to just the "hcl" group.</description>
      <pubDate>Mon, 12 Dec 2005 15:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689642#M549525</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-12T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689643#M549526</link>
      <description>oops...I missed your groups line...disregard</description>
      <pubDate>Mon, 12 Dec 2005 15:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689643#M549526</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-12T15:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689644#M549527</link>
      <description>I know you can use the swacl to restrict them from ssh..I'm not sure about telnet</description>
      <pubDate>Mon, 12 Dec 2005 15:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689644#M549527</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-12T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689645#M549528</link>
      <description>use swacl (options) Secure_Shell...see manpage for swacl for the options that are appropriate&lt;BR /&gt;I apologize for the broken up responses...I'm having some issues with the page refreshing and not going through.</description>
      <pubDate>Mon, 12 Dec 2005 16:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689645#M549528</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-12T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689646#M549529</link>
      <description>I've not managed to find anything in the man pages about Secure Shell options. Any chance you can point me in the direction of the doc in question on the web?</description>
      <pubDate>Tue, 20 Dec 2005 10:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689646#M549529</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2005-12-20T10:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689647#M549530</link>
      <description>Had a chance to look at this again. Swacl doesn't really so what I need it to do, as far as I can tell that's just limiting access to the software, not the protocols. &lt;BR /&gt;&lt;BR /&gt;Still no idea why it's not working. Does the filesystem need to be explicitly set to allow ACL's? I've found another posting that mentioned trying "mount -o remount,acl /" But I can't find anything to suggest 'acl' is a valid mount switch. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 06:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689647#M549530</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2006-01-05T06:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689648#M549531</link>
      <description>Robin,&lt;BR /&gt;&lt;BR /&gt;on HP-UX you could even remove these device files whithout having the desired effect. They are simply not required for calling socket(2) or bind(2). So the the approach is not really promising.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 06:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689648#M549531</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2006-01-05T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689649#M549532</link>
      <description>man setacl says its only for JFS file system .Your root will be hfs , so probably it may not work on /dev directories.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thx,&lt;BR /&gt;bl.</description>
      <pubDate>Thu, 05 Jan 2006 09:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689649#M549532</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2006-01-05T09:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: setacl not working as expected.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689650#M549533</link>
      <description>The root filesystem is xvfs:&lt;BR /&gt;&lt;BR /&gt;# bdf /&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     212992  138744   73808   65% /&lt;BR /&gt;# fstyp /dev/vg00/lvol3&lt;BR /&gt;vxfs&lt;BR /&gt;&lt;BR /&gt;I've now tried amending the ACL for /usr/bin/telnet. This has meant I can restrict access to the executable, and it seems to work in practice. Not very pretty, but it works. Guess I can do the same with the SSH exe.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 10:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setacl-not-working-as-expected/m-p/3689650#M549533</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2006-01-05T10:46:44Z</dc:date>
    </item>
  </channel>
</rss>

