<?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: /etc/profile question? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036405#M133541</link>
    <description>All:&lt;BR /&gt;&lt;BR /&gt;I forgot to mention this. when the user gets the citrix login screen he is directly put on the xmotif application. He does not get a prompt.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;David.</description>
    <pubDate>Tue, 29 Jul 2003 15:12:01 GMT</pubDate>
    <dc:creator>david_252</dc:creator>
    <dc:date>2003-07-29T15:12:01Z</dc:date>
    <item>
      <title>/etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036398#M133534</link>
      <description>We have users coming in from PC (using ica client &amp;amp; citrix metaframe which runs on unix servers). So the users are listed on the unix server but they login from PC using citrix. Upon login, we have a feeling that /etc/profile is not getting executed. How do we check this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;David.</description>
      <pubDate>Tue, 29 Jul 2003 14:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036398#M133534</guid>
      <dc:creator>david_252</dc:creator>
      <dc:date>2003-07-29T14:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036399#M133535</link>
      <description>I would do something in /etc/profile like export ZZ="Furpsplat" then after your user logs in, have them echo "${ZZ}". If ZZ (or whatever is choose) is set (or not), you have your answer.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 14:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036399#M133535</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-29T14:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036400#M133536</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;Export a variable in /etc/profile and check to see if it gets set for these users.&lt;BR /&gt;&lt;BR /&gt;"export FOO=bar"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then, after they log in, "echo $FOO"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 14:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036400#M133536</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-29T14:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036401#M133537</link>
      <description>hi,&lt;BR /&gt;check the environtment variables.&lt;BR /&gt;&lt;BR /&gt;Some heavily depend on the one dclared in /etc/profile&lt;BR /&gt;&lt;BR /&gt;Check if what is in the /etc/profile is also in the env of the user.&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Tue, 29 Jul 2003 14:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036401#M133537</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-29T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036402#M133538</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;To absolutely ensure that /etc/profile gets run by our users (who login via Reflections), we added the following lines to $HOME/.dtprofile:&lt;BR /&gt;&lt;BR /&gt;DTSOURCEPROFILE=true&lt;BR /&gt;. /etc/profile;&lt;BR /&gt;. $HOME/.profile;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 15:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036402#M133538</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-29T15:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036403#M133539</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in /etc/profile you can add something like this :&lt;BR /&gt;&lt;BR /&gt;PS1=[`hostname`]&lt;BR /&gt;export PS1&lt;BR /&gt;&lt;BR /&gt;or,if you have already set PS1, try to modify it.&lt;BR /&gt;&lt;BR /&gt;When users log on to the system, a prompt &lt;BR /&gt;with hostname must appear.&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 15:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036403#M133539</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2003-07-29T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036404#M133540</link>
      <description>/etc/profile gets soruced.&lt;BR /&gt;&lt;BR /&gt;Its used for setting environment variables.&lt;BR /&gt;&lt;BR /&gt;I would think based on my limited knowledge of Citrix that it would not source environment varaibles.  Its not using a regular Unix session.  Its probably using a TCP connection.&lt;BR /&gt;&lt;BR /&gt;Its like visitors to your web site, they get processes running on port 80, but do the get environmetn variables from /etc/profile?  No, they get their environment variables from the httpd server.&lt;BR /&gt;&lt;BR /&gt;Citrix may be different, and the tests earlier in the thread might be a valid way of figuring it out, but I have no reason to believe that Citrix is going to run using /etc/profile or .profile for the user involved.  I'm not sure it should.&lt;BR /&gt;&lt;BR /&gt;I'd check with Citrix.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 Jul 2003 15:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036404#M133540</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-29T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036405#M133541</link>
      <description>All:&lt;BR /&gt;&lt;BR /&gt;I forgot to mention this. when the user gets the citrix login screen he is directly put on the xmotif application. He does not get a prompt.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;David.</description>
      <pubDate>Tue, 29 Jul 2003 15:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036405#M133541</guid>
      <dc:creator>david_252</dc:creator>
      <dc:date>2003-07-29T15:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036406#M133542</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;Can you break out of the application to a shell prompt so you can check to see if the variable gets set or not?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 15:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036406#M133542</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-29T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036407#M133543</link>
      <description>Another better example.&lt;BR /&gt;&lt;BR /&gt;Our print spooler is called easy spooler.  It relies on the OS to validate users.&lt;BR /&gt;&lt;BR /&gt;The environment /etc/profile and .profile is NOT sourced unless they are using the telnet/ssh version of the product.&lt;BR /&gt;&lt;BR /&gt;The Windows GUI gets needed variables from the easyspooler server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 Jul 2003 15:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036407#M133543</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-29T15:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036408#M133544</link>
      <description>David:&lt;BR /&gt;&lt;BR /&gt;Do this on a TEST BOX!!!!!&lt;BR /&gt;&lt;BR /&gt;make a copy of your /etc/profile&lt;BR /&gt;edit your /etc/profile and add the following line towards the end...&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;see if you can launch the application now for any user. If it executes the /etc/profile, you should not be able to launch&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Giri Sekar.</description>
      <pubDate>Tue, 29 Jul 2003 16:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036408#M133544</guid>
      <dc:creator>Giri Sekar.</dc:creator>
      <dc:date>2003-07-29T16:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036409#M133545</link>
      <description>I put the exit 0 in /etc/profile and the application is not able to launch. so i guess it executes /etc/profile. Thank you all.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;David.</description>
      <pubDate>Tue, 29 Jul 2003 16:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036409#M133545</guid>
      <dc:creator>david_252</dc:creator>
      <dc:date>2003-07-29T16:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036410#M133546</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;To have /etc/profile sourced for all users in all terminals, do the following:&lt;BR /&gt;&lt;BR /&gt;cd /etc/dt/config/C&lt;BR /&gt;Edit (or create if it does not already exist)&lt;BR /&gt;sys.resources (644 root:sys) to contain &lt;BR /&gt;*loginShell: True&lt;BR /&gt;&lt;BR /&gt;Elena.</description>
      <pubDate>Tue, 29 Jul 2003 16:16:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036410#M133546</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-07-29T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile question?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036411#M133547</link>
      <description>I had alot of problems when getting the Citrix MetaFrame client to work on my HP's a couple years back.    Here's some of the things I did to get it working:&lt;BR /&gt;&lt;BR /&gt;1 - Edit /opt/CTXSmf/lib/ctxsession.sh and uncomment the following lines:&lt;BR /&gt;&amp;lt; # if [ -f $HOME/.ctx.session.sh ] ; then&lt;BR /&gt;&amp;lt; #  . $HOME/.ctx.session.sh&lt;BR /&gt;&amp;lt; # fi&lt;BR /&gt;&lt;BR /&gt;2 - Create a .ctx.session.sh file in the home directory.&lt;BR /&gt;Here's what I use.&lt;BR /&gt;     1  #!/bin/sh&lt;BR /&gt;     2  # echo "Executing .ctx.session.sh ..."&lt;BR /&gt;     3  export LOGNAME=`whoami`&lt;BR /&gt;     4  . $HOME/.pshrc&lt;BR /&gt;     5  ctx3bmouse middle=left,1&lt;BR /&gt;&lt;BR /&gt;ctx3bmouse allows use of left shift and left mouuse click for two mouse click.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3 - Edited .profile and added the following:&lt;BR /&gt;   # Citrix will not log on if ENV variable is set!!! for /usr/bin/sh shell&lt;BR /&gt;    # ENV=/home/mqm/.pshrc&lt;BR /&gt;    # export ENV&lt;BR /&gt;    if [ "X${SHELL}" = "X/usr/bin/sh" ]; then&lt;BR /&gt;    &lt;BR /&gt;        if [ `env | grep CITRIX_SESSION_ID | wc -l` -eq 0 ]; then&lt;BR /&gt;               ENV=$HOME/.pshrc&lt;BR /&gt;               export ENV&lt;BR /&gt;        fi&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;    if [ ! "X${SHELL}" = "X/usr/bin/sh" ]; then&lt;BR /&gt;           ENV=$HOME/.pshrc&lt;BR /&gt;           export ENV&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now I can't remember why I did all the changes.   Citrix support was of no value.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can see that .pshrc is executed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Don't know if this fixes your problem.&lt;BR /&gt;&lt;BR /&gt;Jack...&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jul 2003 16:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-profile-question/m-p/3036411#M133547</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2003-07-29T16:47:28Z</dc:date>
    </item>
  </channel>
</rss>

