<?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: after-session cleanup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549919#M876103</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;From Knowledge Base document #A5823933A:&lt;BR /&gt;&lt;BR /&gt;Perform the following procedure to execute the 'sessionexit' script each time you perform a system logout:&lt;BR /&gt;&lt;BR /&gt;1. cp /usr/dt/config/Xreset /etc/dt/config/Xreset&lt;BR /&gt;&lt;BR /&gt;2. Edit '/etc/dt/config/Xreset'.&lt;BR /&gt;&lt;BR /&gt;3. Execute your script file within the 'Xreset' file.&lt;BR /&gt;&lt;BR /&gt;...JRF..</description>
    <pubDate>Mon, 09 Jul 2001 09:08:13 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-07-09T09:08:13Z</dc:date>
    <item>
      <title>after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549915#M876099</link>
      <description>How can I define commands that are&lt;BR /&gt;carried out whenever a user logs out&lt;BR /&gt;(the opposite of .profile)?</description>
      <pubDate>Sat, 07 Jul 2001 18:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549915#M876099</guid>
      <dc:creator>Ulrich Deiters</dc:creator>
      <dc:date>2001-07-07T18:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549916#M876100</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can add a trap to your $HOME/.profile that looks like this:&lt;BR /&gt;&lt;BR /&gt;trap "$HOME/.logout" 0&lt;BR /&gt;&lt;BR /&gt;Then, in $HOME/.logout place whatever commands you wish to have run when you logout.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 07 Jul 2001 20:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549916#M876100</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-07T20:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549917#M876101</link>
      <description>you can use the trap command in your .profile. &lt;BR /&gt;&lt;BR /&gt;trap " complete_path_your_script; echo 'HAVE A NICE DAY'" 0</description>
      <pubDate>Mon, 09 Jul 2001 07:45:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549917#M876101</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-07-09T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549918#M876102</link>
      <description>Sorry, but the "trap ... 0"  method does&lt;BR /&gt;not work for users running a CDE&lt;BR /&gt;session. There must be some other&lt;BR /&gt;way; e.g., how is the system told to&lt;BR /&gt;empty the trash folder after a user&lt;BR /&gt;logs out?</description>
      <pubDate>Mon, 09 Jul 2001 09:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549918#M876102</guid>
      <dc:creator>Ulrich Deiters</dc:creator>
      <dc:date>2001-07-09T09:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549919#M876103</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;From Knowledge Base document #A5823933A:&lt;BR /&gt;&lt;BR /&gt;Perform the following procedure to execute the 'sessionexit' script each time you perform a system logout:&lt;BR /&gt;&lt;BR /&gt;1. cp /usr/dt/config/Xreset /etc/dt/config/Xreset&lt;BR /&gt;&lt;BR /&gt;2. Edit '/etc/dt/config/Xreset'.&lt;BR /&gt;&lt;BR /&gt;3. Execute your script file within the 'Xreset' file.&lt;BR /&gt;&lt;BR /&gt;...JRF..</description>
      <pubDate>Mon, 09 Jul 2001 09:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549919#M876103</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-09T09:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: after-session cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549920#M876104</link>
      <description>Try creating the file:&lt;BR /&gt;&lt;BR /&gt;~/.dt/sessions/sessionexit&lt;BR /&gt;&lt;BR /&gt;this should run whenever you logout.&lt;BR /&gt;&lt;BR /&gt;Robin</description>
      <pubDate>Mon, 09 Jul 2001 09:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/after-session-cleanup/m-p/2549920#M876104</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-07-09T09:22:46Z</dc:date>
    </item>
  </channel>
</rss>

