<?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 SUIDed scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624259#M926432</link>
    <description>Is there any way to search for all scripts on a machine that are SUIDed scripts?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 03 Dec 2001 20:55:56 GMT</pubDate>
    <dc:creator>Mike_21</dc:creator>
    <dc:date>2001-12-03T20:55:56Z</dc:date>
    <item>
      <title>SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624259#M926432</link>
      <description>Is there any way to search for all scripts on a machine that are SUIDed scripts?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 03 Dec 2001 20:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624259#M926432</guid>
      <dc:creator>Mike_21</dc:creator>
      <dc:date>2001-12-03T20:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624260#M926433</link>
      <description>You can use -perm switch with find command. &lt;BR /&gt;&lt;BR /&gt;find / -perm -4000&lt;BR /&gt;&lt;BR /&gt;will printout all the executables (irrespective of regular permissions) with suid on.&lt;BR /&gt;&lt;BR /&gt;If you want to find out the files with exact permissions, you need to skip -.&lt;BR /&gt;&lt;BR /&gt;For ex., if you want to find files that have 4550 permissions, you would be executing&lt;BR /&gt;&lt;BR /&gt;find / -perm 4550&lt;BR /&gt;&lt;BR /&gt;- is significant.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 03 Dec 2001 21:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624260#M926433</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-03T21:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624261#M926434</link>
      <description>Along with Sridhar's examples, you might also want to take a look at this document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://people.hp.se/stevesk/bastion.html" target="_blank"&gt;http://people.hp.se/stevesk/bastion.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 03 Dec 2001 21:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624261#M926434</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-12-03T21:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624262#M926435</link>
      <description># cd [dir_to_search]&lt;BR /&gt;# find . -user root -perm -4000 -print</description>
      <pubDate>Mon, 03 Dec 2001 21:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624262#M926435</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2001-12-03T21:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624263#M926436</link>
      <description>Hi Mike:&lt;BR /&gt;&lt;BR /&gt;# find / -type f -perm -4000&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 03 Dec 2001 21:08:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624263#M926436</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-12-03T21:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: SUIDed scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624264#M926437</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for i in `ls -Rl`&lt;BR /&gt;do&lt;BR /&gt;TEST=`echo $i | awk '{ print $1}'`&lt;BR /&gt;grep [sS] $TEST&lt;BR /&gt;if [ "$?" -eq 0 ]&lt;BR /&gt;then &lt;BR /&gt;    echo $i &amp;gt;sbit.out&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Hope this wil help,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 21:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suided-scripts/m-p/2624264#M926437</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-12-03T21:09:16Z</dc:date>
    </item>
  </channel>
</rss>

