<?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: .profile and su - issues in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922140#M815533</link>
    <description>Hi Ken:&lt;BR /&gt;&lt;BR /&gt;I believe that the comment on the line-58 spills onto a new line rather than continuing to the end.  Change that and try.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 30 Aug 2005 12:26:18 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-08-30T12:26:18Z</dc:date>
    <item>
      <title>.profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922136#M815529</link>
      <description>When I su - &lt;APPUSER&gt;  another user, I'm getting the following message when I become that message:&lt;BR /&gt;&lt;BR /&gt;${HOME:-.}/.profile[55]: syntax error: `newline or ;' unexpected&lt;BR /&gt;&lt;BR /&gt;The su - &lt;APPUSER&gt; does work however, despite that message.&lt;BR /&gt;&lt;BR /&gt;On line [55] of the appuser .profile we have the following:   &lt;BR /&gt;&lt;BR /&gt; set -A whoAmI $(who am i)&lt;BR /&gt;&lt;BR /&gt;whoAmI gets associated to values later in the .profile in case you needed to know.&lt;BR /&gt;&lt;BR /&gt;Would anyone have any ideas why we're getting the above message?&lt;BR /&gt;&lt;BR /&gt;&lt;/APPUSER&gt;&lt;/APPUSER&gt;</description>
      <pubDate>Tue, 30 Aug 2005 11:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922136#M815529</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-30T11:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922137#M815530</link>
      <description>Ken:&lt;BR /&gt;&lt;BR /&gt;In isolation, there doesn't appear to be anything wrong with the 'set' statement.  Post your complete profile.  I suspect that your error lies above line-55.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Aug 2005 11:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922137#M815530</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-08-30T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922138#M815531</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Change the line to&lt;BR /&gt;&lt;BR /&gt;set -A whoAmI $(whoami)&lt;BR /&gt;&lt;BR /&gt;Or &lt;BR /&gt;&lt;BR /&gt;set whoAmI $(whoami)&lt;BR /&gt;&lt;BR /&gt;If problem persists attach .profile.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Aug 2005 11:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922138#M815531</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-30T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922139#M815532</link>
      <description>Tried both and neither worked.  I just recently added the part of the .profile that talks about Shadowing users and onward today to implement some logging for users that become this &lt;APPUSER&gt;&lt;/APPUSER&gt;</description>
      <pubDate>Tue, 30 Aug 2005 12:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922139#M815532</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-30T12:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922140#M815533</link>
      <description>Hi Ken:&lt;BR /&gt;&lt;BR /&gt;I believe that the comment on the line-58 spills onto a new line rather than continuing to the end.  Change that and try.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Aug 2005 12:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922140#M815533</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-08-30T12:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922141#M815534</link>
      <description>That was it.   Thanks very much everyone..</description>
      <pubDate>Tue, 30 Aug 2005 12:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922141#M815534</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-30T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922142#M815535</link>
      <description>.</description>
      <pubDate>Tue, 30 Aug 2005 12:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922142#M815535</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-08-30T12:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: .profile and su - issues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922143#M815536</link>
      <description>Hi Ken&lt;BR /&gt;&lt;BR /&gt;I understand that for reading it is more fun to have you case line (line-58) in two lines.&lt;BR /&gt;&lt;BR /&gt;If you would keep it try to insert a \ (backslack) before the new line char.&lt;BR /&gt;&lt;BR /&gt;case ${whoAmI[0]} in \&lt;BR /&gt;        cpcmep|cpcfop|cpcolp|devwm|tstwm|trnwm|root) : ;; # Nothing for us to do&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Roland</description>
      <pubDate>Wed, 31 Aug 2005 11:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-and-su-issues/m-p/4922143#M815536</guid>
      <dc:creator>Roland Piette</dc:creator>
      <dc:date>2005-08-31T11:09:12Z</dc:date>
    </item>
  </channel>
</rss>

