<?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: logging out using Scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489313#M801680</link>
    <description>Under ksh "kill -HUP $PPID" will kill off the parent process if that is what you are trying to do.&lt;BR /&gt;                                      Jim Trice</description>
    <pubDate>Thu, 08 Feb 2001 21:30:00 GMT</pubDate>
    <dc:creator>James H. Trice Ph.D.</dc:creator>
    <dc:date>2001-02-08T21:30:00Z</dc:date>
    <item>
      <title>logging out using Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489310#M801677</link>
      <description>I need to make a script that once it is executed it will automatically log out the user&lt;BR /&gt;&lt;BR /&gt;Does anyone maybe know how to actually log out the user ?&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Feb 2001 15:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489310#M801677</guid>
      <dc:creator>Stefan Saliba</dc:creator>
      <dc:date>2001-02-02T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: logging out using Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489311#M801678</link>
      <description>At the end of your script, type:&lt;BR /&gt;exit &lt;BR /&gt;on a line by itself.</description>
      <pubDate>Fri, 02 Feb 2001 15:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489311#M801678</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2001-02-02T15:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: logging out using Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489312#M801679</link>
      <description>Stefan:&lt;BR /&gt;&lt;BR /&gt;If you want the user to only be able to execute a particular script (as is common with menu-based loops), then either:&lt;BR /&gt;&lt;BR /&gt;1. Substitute the script name in place of the normal shell name in the seventh, colon-delimited field of /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;2. As the last line of the user's $HOME/.profile, do:&lt;BR /&gt;&lt;BR /&gt;exec &amp;lt;script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;This will cause the &amp;lt;script&amp;gt; to run and upon exiting, the user will be logged off.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 02 Feb 2001 15:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489312#M801679</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-02-02T15:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: logging out using Scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489313#M801680</link>
      <description>Under ksh "kill -HUP $PPID" will kill off the parent process if that is what you are trying to do.&lt;BR /&gt;                                      Jim Trice</description>
      <pubDate>Thu, 08 Feb 2001 21:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-out-using-scripts/m-p/2489313#M801680</guid>
      <dc:creator>James H. Trice Ph.D.</dc:creator>
      <dc:date>2001-02-08T21:30:00Z</dc:date>
    </item>
  </channel>
</rss>

