<?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: Can non-root user execute /sbin/ioscan? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085278#M143544</link>
    <description>You've just opened your system for a huge trojan.&lt;BR /&gt; &lt;BR /&gt;If you must allow normal users (and I don't know why), then try 2555 perms and make sure the file is owned by root: chown root /sbin/ioscan.&lt;BR /&gt; &lt;BR /&gt;You may also want to investigate using sudo as you can restrict which users can use it and you have an audit trail.&lt;BR /&gt; &lt;BR /&gt;HTH.</description>
    <pubDate>Fri, 03 Oct 2003 14:19:09 GMT</pubDate>
    <dc:creator>Brian Bergstrand</dc:creator>
    <dc:date>2003-10-03T14:19:09Z</dc:date>
    <item>
      <title>Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085277#M143543</link>
      <description>I set that file 4777, an ordinary user still cannot execute the command. Please help.</description>
      <pubDate>Fri, 03 Oct 2003 14:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085277#M143543</guid>
      <dc:creator>Jun Zhang_4</dc:creator>
      <dc:date>2003-10-03T14:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085278#M143544</link>
      <description>You've just opened your system for a huge trojan.&lt;BR /&gt; &lt;BR /&gt;If you must allow normal users (and I don't know why), then try 2555 perms and make sure the file is owned by root: chown root /sbin/ioscan.&lt;BR /&gt; &lt;BR /&gt;You may also want to investigate using sudo as you can restrict which users can use it and you have an audit trail.&lt;BR /&gt; &lt;BR /&gt;HTH.</description>
      <pubDate>Fri, 03 Oct 2003 14:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085278#M143544</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2003-10-03T14:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085279#M143545</link>
      <description>Sorry, that should be 4555, not 2555. Just get rid of the write perms.&lt;BR /&gt; &lt;BR /&gt;ioscan is owned by bin so change the owner to root as I suggested and your users will be able to run it.&lt;BR /&gt;&lt;BR /&gt;HTH.</description>
      <pubDate>Fri, 03 Oct 2003 14:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085279#M143545</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2003-10-03T14:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085280#M143546</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  sure non-root user can execute ioscan.. u dont have to modify the permission.&lt;BR /&gt;  &lt;BR /&gt;  just use the -k option&lt;BR /&gt;&lt;BR /&gt;  $ ioscan -fnk&lt;BR /&gt;&lt;BR /&gt;  Without -k option ioscan tries to refresh the kernel with the status of the devices. With -k opton it just queries the kernl memory and displays.&lt;BR /&gt;&lt;BR /&gt;Sundar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Oct 2003 14:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085280#M143546</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2003-10-03T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085281#M143547</link>
      <description>Actually I believe 4555 is more likely to work as this will set the setuid bit whereas 2555 will set the guid bit (6555 for both).  I think  Brian has a good point when he says that you shouldn't really do this and sudo is a much better option.</description>
      <pubDate>Fri, 03 Oct 2003 14:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085281#M143547</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-10-03T14:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085282#M143548</link>
      <description>Sundara's option is better than anything else. I completly forgot about that. With -k you don't have to change anything.</description>
      <pubDate>Fri, 03 Oct 2003 14:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085282#M143548</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2003-10-03T14:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can non-root user execute /sbin/ioscan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085283#M143549</link>
      <description>No.&lt;BR /&gt; &lt;BR /&gt;You get an error accessing /dev/config&lt;BR /&gt; &lt;BR /&gt;If you open up permissions there you might as well just wipe the whole box out.&lt;BR /&gt; &lt;BR /&gt;This is a HUGE security problem. ioscan is an admin tool. Anyone that uses it should be trusted with the root password.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Fri, 03 Oct 2003 14:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-non-root-user-execute-sbin-ioscan/m-p/3085283#M143549</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-03T14:54:44Z</dc:date>
    </item>
  </channel>
</rss>

