<?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: script command hung on exit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822924#M86948</link>
    <description>Marco&lt;BR /&gt;&lt;BR /&gt;What is your command?&lt;BR /&gt;&lt;BR /&gt;Paula</description>
    <pubDate>Thu, 10 Oct 2002 12:31:52 GMT</pubDate>
    <dc:creator>Paula J Frazer-Campbell</dc:creator>
    <dc:date>2002-10-10T12:31:52Z</dc:date>
    <item>
      <title>script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822923#M86947</link>
      <description>Hello,&lt;BR /&gt;I'm logging the user sesion with script command, put in /etc/profile, but when the user exit the session, the session is hung.  The big problem is when this occurr in the console of the server. I'm using HPUX 10.20.&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Thu, 10 Oct 2002 12:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822923#M86947</guid>
      <dc:creator>Marco Queirolo</dc:creator>
      <dc:date>2002-10-10T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822924#M86948</link>
      <description>Marco&lt;BR /&gt;&lt;BR /&gt;What is your command?&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 10 Oct 2002 12:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822924#M86948</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-10T12:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822925#M86949</link>
      <description>Paula,&lt;BR /&gt;&lt;BR /&gt;He's put the "script" command into the user's profile in order to log the entire session - see man script.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 10 Oct 2002 12:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822925#M86949</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-10-10T12:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822926#M86950</link>
      <description>&lt;BR /&gt;How is `script` invoked in the profile? I would use 'exec script' at the very end.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 15:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822926#M86950</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-10-10T15:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822927#M86951</link>
      <description>Right,&lt;BR /&gt;&lt;BR /&gt;At the end of the /etc/profile, I put the command " exec script &lt;FILENAME&gt; "&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 10 Oct 2002 16:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822927#M86951</guid>
      <dc:creator>Marco Queirolo</dc:creator>
      <dc:date>2002-10-10T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822928#M86952</link>
      <description>&lt;BR /&gt;Can you tell if the user has any jobs in the background? If these need to continue running, then they should be invoked in a manner that prevents their stdio from attaching to the terminal device. For example:&lt;BR /&gt;&lt;BR /&gt;batch &amp;lt; scriptfile&lt;BR /&gt;&lt;BR /&gt;batch &amp;lt;&amp;lt;.&lt;BR /&gt;commands &amp;amp;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;at now &amp;lt; scriptfile&lt;BR /&gt;&lt;BR /&gt;at now &amp;lt;&amp;lt;.&lt;BR /&gt;commands &amp;amp;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;and a favorite on the forums:&lt;BR /&gt;&lt;BR /&gt;nohup command /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 17:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822928#M86952</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-10-10T17:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822929#M86953</link>
      <description>Pete &lt;BR /&gt;&lt;BR /&gt;Yes I got the Script bit but was wondering about the format.&lt;BR /&gt;&lt;BR /&gt;By using ???exec script &lt;FILENAME&gt;  the initial shell is sacrificed and so when the user exits there is no shell to wrap up there session.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try it without the exec.&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Fri, 11 Oct 2002 06:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822929#M86953</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-11T06:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: script command hung on exit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822930#M86954</link>
      <description>Pete &lt;BR /&gt;&lt;BR /&gt;Yes I got the Script bit but was wondering about the format.&lt;BR /&gt;&lt;BR /&gt;By using ???exec script &lt;FILENAME&gt;"  the initial shell is sacrificed and so when the user exits there is no shell to wrap up their session.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try it without the exec.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also:-&lt;BR /&gt;&lt;BR /&gt;Try not to use the console for anything else but critical system administration tasks - it is your last line of defence.&lt;BR /&gt;&lt;BR /&gt;e.g. locked console and telnet not working = reboot&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Fri, 11 Oct 2002 06:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-command-hung-on-exit/m-p/2822930#M86954</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-11T06:38:00Z</dc:date>
    </item>
  </channel>
</rss>

