<?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: Identifying scripts using remsh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018003#M427879</link>
    <description>You can use the find command:&lt;BR /&gt;&lt;BR /&gt;find /starting_directory -type f -exec grep -l "remsh" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 11 Dec 2006 07:06:23 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2006-12-11T07:06:23Z</dc:date>
    <item>
      <title>Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018002#M427878</link>
      <description>I am starting upon a process to replace remsh with ssh. I have gone through a process of provate and public key generation, and have copied these across to hosts as necessary.&lt;BR /&gt;&lt;BR /&gt;I'm now trying to locate all scripts that make use of remsh so I can edit them. Has anyone found a clever of way of locating all scripts. &lt;BR /&gt;&lt;BR /&gt;I am worried that I will shutdown 'r' services but then find I have missed a script.&lt;BR /&gt;&lt;BR /&gt;Berd</description>
      <pubDate>Mon, 11 Dec 2006 06:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018002#M427878</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2006-12-11T06:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018003#M427879</link>
      <description>You can use the find command:&lt;BR /&gt;&lt;BR /&gt;find /starting_directory -type f -exec grep -l "remsh" {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 11 Dec 2006 07:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018003#M427879</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-12-11T07:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018004#M427880</link>
      <description>&lt;!--!*#--&gt;Hi Berd:&lt;BR /&gt;&lt;BR /&gt;I'd use 'find' and 'grep' for "remsh".&lt;BR /&gt;&lt;BR /&gt;Keep your 'find' from crossing mountpoints with '-xdev'.  This is very useful if you search the root ('/') directory.  Afterall, you *want* to search '/sbin' and '/etc/' but don't want nor need to traverse '/var' or '/tmp'.&lt;BR /&gt;&lt;BR /&gt;The following shell script limits examination to text files eliminating searching binary ones:&lt;BR /&gt;&lt;BR /&gt;# cat .finder&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;typeset DIR=$1&lt;BR /&gt;typeset PAT=$2&lt;BR /&gt;find ${DIR} -xdev -type f | while read FILE&lt;BR /&gt;do&lt;BR /&gt;    [ `file ${FILE} | grep -c ascii` -eq 0 ] &amp;amp;&amp;amp; continue&lt;BR /&gt;    grep "$PAT" ${FILE} /dev/null&lt;BR /&gt;done&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;...run as:&lt;BR /&gt;&lt;BR /&gt;# ./finder /path_to_search  pattern_to_find&lt;BR /&gt;&lt;BR /&gt;for example:&lt;BR /&gt;&lt;BR /&gt;# ./finder /  remsh&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 11 Dec 2006 07:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018004#M427880</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-11T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018005#M427881</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;One good way would be to go to each directory where you keep your scripts and do a:&lt;BR /&gt;&lt;BR /&gt;grep -i remsh *.sh&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;otherwise, you can just go to all the other hosts and run:&lt;BR /&gt;&lt;BR /&gt;last | grep rmeshd &lt;BR /&gt;&lt;BR /&gt;though this does not give you the name of the script, you will know that there are still scripts that have been left out!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018005#M427881</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-11T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018006#M427882</link>
      <description>Berd,&lt;BR /&gt;check the wtmp log file (last | grep remshd) then concentrate on those users and times of access.&lt;BR /&gt;Or you could try to get the daemon to log access. Look at /etc/inetd.conf.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018006#M427882</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-11T07:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying scripts using remsh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018007#M427883</link>
      <description>Thanks for the input everyone.&lt;BR /&gt;&lt;BR /&gt;I think I will use the find command with the xdev flag. I'll work on one mount point at a time per host.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Berd</description>
      <pubDate>Mon, 11 Dec 2006 07:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identifying-scripts-using-remsh/m-p/5018007#M427883</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2006-12-11T07:25:15Z</dc:date>
    </item>
  </channel>
</rss>

