<?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: start up script in user's profile. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879138#M703922</link>
    <description>I've tried doing the way you suggested and I'm still getting an environment error. &lt;BR /&gt;&lt;BR /&gt;main/bin/c01735: error: CAT_HOME not set in environment.&lt;BR /&gt;REFERENCE CODE: c05279-1000&lt;BR /&gt;&lt;BR /&gt;any more suggestions?</description>
    <pubDate>Mon, 10 Jan 2005 14:38:42 GMT</pubDate>
    <dc:creator>Deoncia Grayson_1</dc:creator>
    <dc:date>2005-01-10T14:38:42Z</dc:date>
    <item>
      <title>start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879133#M703917</link>
      <description>I know you add a start up script when you add a user to the server but I need the start up script to be like so ...&lt;BR /&gt;&lt;BR /&gt;/main/bin/c01735 main 109 245  and Sam won't allow you to add the scrip like so but I need this to take place, how should I accomplish this task?</description>
      <pubDate>Mon, 10 Jan 2005 09:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879133#M703917</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-01-10T09:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879134#M703918</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why you don't create a script c01735.sh with the following inside:&lt;BR /&gt;&lt;BR /&gt;/main/bin/c01735 main 109 245&lt;BR /&gt;&lt;BR /&gt;And tell SAM to execute c01735.sh (check the file is executable)&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2005 10:50:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879134#M703918</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-01-10T10:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879135#M703919</link>
      <description>Hi Deoncia,&lt;BR /&gt;&lt;BR /&gt;I'm not sure  what are you exactly talking about, can you describe it in more details ?&lt;BR /&gt;&lt;BR /&gt;generaly you can use and modify template startup script according to /sbin/init.d/template. Don't forget to make S a K links to this script from level you want to start from.&lt;BR /&gt;&lt;BR /&gt;rgds Jan</description>
      <pubDate>Mon, 10 Jan 2005 10:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879135#M703919</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2005-01-10T10:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879136#M703920</link>
      <description>Hey Eric &lt;BR /&gt;&lt;BR /&gt;followed your suggestion and wrote a simple script but now getting variable is not set properly so I set up the variable like so &lt;BR /&gt;&lt;BR /&gt;CAT_HOME=/main&lt;BR /&gt;export CAT_HOME&lt;BR /&gt;&lt;BR /&gt;guess what it comes back with.. CAT_HOME is not set in environment so decided to do setenv ENV $CAT_HOME/main and get CAT_HOME is not set... any suggestions?</description>
      <pubDate>Mon, 10 Jan 2005 12:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879136#M703920</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-01-10T12:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879137#M703921</link>
      <description>What is this user's shell? How are you logging in as this user. For example, it this a CDE login or a terminal session?&lt;BR /&gt;&lt;BR /&gt;If you put a script inside the user's .profile it must be sourced with the "." command.&lt;BR /&gt;&lt;BR /&gt;Let's assume you have a small script, myvars.sh:&lt;BR /&gt;&lt;BR /&gt;XX=123456&lt;BR /&gt;export XX&lt;BR /&gt;&lt;BR /&gt;For example, in the profile suppose you do this:&lt;BR /&gt;&lt;BR /&gt;myvars.sh&lt;BR /&gt;&lt;BR /&gt;In this case, the .profile will execute myvars.sh perfectly BUT because this is executed as a child process the exports will have absolutely no effect upon the parent shell. You need to source the script so that the myvars.sh script becomes a part of .profile.&lt;BR /&gt;&lt;BR /&gt;. myvars.sh &lt;BR /&gt;&lt;BR /&gt;This will work as intended BUT myvars.sh must contain no exit or return statements because you will now exit the foreground process (the shell).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2005 12:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879137#M703921</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-10T12:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879138#M703922</link>
      <description>I've tried doing the way you suggested and I'm still getting an environment error. &lt;BR /&gt;&lt;BR /&gt;main/bin/c01735: error: CAT_HOME not set in environment.&lt;BR /&gt;REFERENCE CODE: c05279-1000&lt;BR /&gt;&lt;BR /&gt;any more suggestions?</description>
      <pubDate>Mon, 10 Jan 2005 14:38:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879138#M703922</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-01-10T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: start up script in user's profile.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879139#M703923</link>
      <description>off to programmers... some information need to be hard coded in the user's profile</description>
      <pubDate>Mon, 10 Jan 2005 19:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/start-up-script-in-user-s-profile/m-p/4879139#M703923</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-01-10T19:54:58Z</dc:date>
    </item>
  </channel>
</rss>

