<?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: user profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944689#M412466</link>
    <description>Hi Andy,&lt;BR /&gt;&lt;BR /&gt;${HOME:-.}/.profile[13]: syntax error: `}' unexpected = while running the script, its pointing to cmenu="c. Exit";&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Mok</description>
    <pubDate>Wed, 07 Dec 2005 02:30:38 GMT</pubDate>
    <dc:creator>Mohd Mohtar</dc:creator>
    <dc:date>2005-12-07T02:30:38Z</dc:date>
    <item>
      <title>user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944677#M412454</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have some qns on user profile.Presently, my company is embarking on a new ERP application replacing the current one.&lt;BR /&gt;&lt;BR /&gt;Users accessing the current ERP apps via the .profile in each user /home dir.&lt;BR /&gt;&lt;BR /&gt;My qns are as follows:&lt;BR /&gt;&lt;BR /&gt;1) Without creating a new user id, can i use the same id to access the new ERP apps, ie users r able to access either one of the ERP apps&lt;BR /&gt;&lt;BR /&gt;2) Do I need to create a secondary group for this purpose?&lt;BR /&gt;&lt;BR /&gt;My reasons for the above qns is to avoid creating another set of user ids for the new ERP.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Tue, 06 Dec 2005 05:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944677#M412454</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-06T05:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944678#M412455</link>
      <description>Hi Mok,&lt;BR /&gt;&lt;BR /&gt;in my opinion you can use the same user id and create secondary group, obviusly according to ERP apps requests.&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 06 Dec 2005 05:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944678#M412455</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2005-12-06T05:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944679#M412456</link>
      <description>Will ERP application create new user ID. IF so you can not stop there. If that application is needing you to create a user ID or dynamically creating that during installation then you can not stop that.&lt;BR /&gt;&lt;BR /&gt;Else, you can access with your user account and group to access it.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Tue, 06 Dec 2005 05:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944679#M412456</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-06T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944680#M412457</link>
      <description>Dear Mohd,&lt;BR /&gt;&lt;BR /&gt;The anwsers can be &lt;BR /&gt;&lt;BR /&gt;1) Creation of new user is not required as we can modify the /etc/profile to make system wide variables required to enable the new ERP App working &amp;amp; also we can add necessary lines ( executable/variables) to the individual users, specific to their need, so that they will be able to use the new ERP.&lt;BR /&gt;&lt;BR /&gt;2) Secondary Group creation is required only when the new ERP appn requires diffrent set of permisions. ( ALSO during the installation of the new ERP we can also customize this )&lt;BR /&gt;&lt;BR /&gt;HtH,&lt;BR /&gt;&lt;BR /&gt;Siva</description>
      <pubDate>Tue, 06 Dec 2005 05:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944680#M412457</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-06T05:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944681#M412458</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/home/user/.profile contain a script file to access ERP A. I want to add another script file to access ERP B. But the problem is I do not how to tell the server which script to use for which purpose? &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Tue, 06 Dec 2005 07:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944681#M412458</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-06T07:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944682#M412459</link>
      <description>I once worked on a system that had several instances of the same database on it, and different sets of users wanted to have the option to access their choice of instances at login. I implemented a menuing system within the /home/user/.profile that presented prompts for them using a few case statements. As they managed to consolidate the instances, I was able to comment out each option/instance as they were eliminated. Eventually, I removed the prompts and cases when they eliminated the last one.</description>
      <pubDate>Tue, 06 Dec 2005 08:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944682#M412459</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-06T08:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944683#M412460</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Allow me to explain the situation.User A access to ERP A via .profile in /home/userA/ and i want to use the same user A id to access ERP B. &lt;BR /&gt;&lt;BR /&gt;User A will need to access both ERP A &amp;amp; ERP B at the same time for cross checking of data till one fine day, user A will only access to ERP B.&lt;BR /&gt;&lt;BR /&gt;I have added a secondary group for all users and I really apprecuare if anyone can show me the way to do it? &lt;BR /&gt;&lt;BR /&gt;My last option will be to create new set of user ids for ERP B which I'm trying to avoid.&lt;BR /&gt;&lt;BR /&gt;tks&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Tue, 06 Dec 2005 08:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944683#M412460</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-06T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944684#M412461</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Allow me to explain the situation.User A access to ERP A via .profile in /home/userA/ and i want to use the same user A id to access ERP B. &lt;BR /&gt;&lt;BR /&gt;User A will need to access both ERP A &amp;amp; ERP B at the same time for cross checking of data till one fine day, user A will only access to ERP B.&lt;BR /&gt;&lt;BR /&gt;I have added a secondary group for all users and I really apprecuare if anyone can show me the way to do it as I'm not an expert in scripting? &lt;BR /&gt;&lt;BR /&gt;My last option will be to create new set of user ids for ERP B which I'm trying to avoid.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tks&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Tue, 06 Dec 2005 08:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944684#M412461</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-06T08:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944685#M412462</link>
      <description>Hi again Mok,&lt;BR /&gt;&lt;BR /&gt;if user have to login on server and then can use ERP then,as Andy wrote, you can arrange .profile with case istruction;&lt;BR /&gt;&lt;BR /&gt;if user acces ERP by gui interface/client ...&lt;BR /&gt;maybe creation of new user (server side) is needed&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 06 Dec 2005 08:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944685#M412462</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2005-12-06T08:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944686#M412463</link>
      <description>Here's an example of the script I mentioned before. You just put it in the .profile and have the user log in two sessions, choosing each ERP:&lt;BR /&gt;&lt;BR /&gt;LOGO="ERP Access Menu"&lt;BR /&gt;badchoice () { MSG="Invalid Selection ... Please Try Again" ; }&lt;BR /&gt;&lt;BR /&gt;# Menu Prompts&lt;BR /&gt;amenu="a.  ERP A" ;&lt;BR /&gt;bmenu="b.  ERP B" ;&lt;BR /&gt;cmenu="c.  Exit" ;&lt;BR /&gt;&lt;BR /&gt;# Commands to execute&lt;BR /&gt;apick () { /command_to_start_ERP_A ; }&lt;BR /&gt;bpick () { /command_to_start_ERP_B ; }&lt;BR /&gt;cpick () { exit ; }&lt;BR /&gt;&lt;BR /&gt;# Display the Menu&lt;BR /&gt;themenu () {&lt;BR /&gt;clear&lt;BR /&gt;echo "\t\t\t" $LOGO&lt;BR /&gt;echo&lt;BR /&gt;echo&lt;BR /&gt;echo "\t\t\t"$amenu&lt;BR /&gt;echo "\t\t\t"$bmenu&lt;BR /&gt;echo&lt;BR /&gt;echo "\t\t\t"$cmenu&lt;BR /&gt;echo&lt;BR /&gt;echo $MSG&lt;BR /&gt;echo&lt;BR /&gt;echo "\t\t\tEnter Your Selection: \c" ; }&lt;BR /&gt;MSG=&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;        themenu&lt;BR /&gt;        read answer&lt;BR /&gt;        MSG=&lt;BR /&gt;        case $answer in&lt;BR /&gt;        a|A) apick;;&lt;BR /&gt;        b|B) bpick;;&lt;BR /&gt;        c|C) cpick;;&lt;BR /&gt;        x|X) exit;;&lt;BR /&gt;        *) badchoice;;&lt;BR /&gt;        esac&lt;BR /&gt;done</description>
      <pubDate>Tue, 06 Dec 2005 08:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944686#M412463</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-06T08:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944687#M412464</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;we usually just have 2 .env files in the users' home directories (i.e. applmgr, appsmgr, etc.)  one will be called 11idev.env and the other might be 11ipatch.env.&lt;BR /&gt;Once the user logs in....they can just source the .env file of the instance they wish to work in....these .env files setup the required oracle PATH and other VARIABLES for each env.&lt;BR /&gt;&lt;BR /&gt;This way...the .profile doesn't have to be modified.&lt;BR /&gt;&lt;BR /&gt;Are these users DBAs/application admins or just app users?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 14:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944687#M412464</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-06T14:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944688#M412465</link>
      <description>Hi Andy,&lt;BR /&gt;&lt;BR /&gt;Thanks for the script. I will try it out and let u know of the outcome.&lt;BR /&gt;&lt;BR /&gt;Hi Siva, &lt;BR /&gt;&lt;BR /&gt;Can you give me some examples?&lt;BR /&gt;&lt;BR /&gt;Hi Christine,&lt;BR /&gt;&lt;BR /&gt;Users are apps users.&lt;BR /&gt;&lt;BR /&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;Users will be using different client emulation to access respective ERP (I guess it will not be much of a different). Nevertheless, I will try out the script given by Andy.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Tue, 06 Dec 2005 21:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944688#M412465</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-06T21:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944689#M412466</link>
      <description>Hi Andy,&lt;BR /&gt;&lt;BR /&gt;${HOME:-.}/.profile[13]: syntax error: `}' unexpected = while running the script, its pointing to cmenu="c. Exit";&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Wed, 07 Dec 2005 02:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944689#M412466</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-07T02:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944690#M412467</link>
      <description>Post that .profile here? May be = is having space before or after that at 16th line.&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Wed, 07 Dec 2005 02:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944690#M412467</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T02:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944691#M412468</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The attached file as requested.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Wed, 07 Dec 2005 02:57:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944691#M412468</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-07T02:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944692#M412469</link>
      <description>Problem is with this:&lt;BR /&gt;&lt;BR /&gt;#Commands to execute&lt;BR /&gt;apick () {$BSE/bin/check_licenses;}&lt;BR /&gt;bpick () {/home/esoper01/pronto;}&lt;BR /&gt;cpick () {exit;}&lt;BR /&gt;&lt;BR /&gt;Problem is with &lt;SPACE&gt; needed after { as,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#Commands to execute&lt;BR /&gt;apick () { $BSE/bin/check_licenses;}&lt;BR /&gt;bpick () { /home/esoper01/pronto;}&lt;BR /&gt;cpick () { exit;}&lt;BR /&gt;&lt;BR /&gt;It will work after that change.&lt;BR /&gt;&lt;BR /&gt;-Muthu&lt;/SPACE&gt;</description>
      <pubDate>Wed, 07 Dec 2005 03:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944692#M412469</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T03:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944693#M412470</link>
      <description>Hi Muthu,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply. The menu works but nothing happen when I choose either a or b. Only c (exit) works. Anything that I might have missed out.&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Wed, 07 Dec 2005 03:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944693#M412470</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-07T03:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944694#M412471</link>
      <description>what are you getting for this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; a) /home/esoper01/pronto and $BSE/bin/check_licenses&lt;BR /&gt;&lt;BR /&gt;Is it running in command line? Can you paste the results. If it is not running then script will not make to run it.&lt;BR /&gt;&lt;BR /&gt;  # $BSE/bin/check_licenses&lt;BR /&gt;  # /home/esoper01/pronto&lt;BR /&gt;&lt;BR /&gt;Paste the results or error here.&lt;BR /&gt;&lt;BR /&gt;-Muthu&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Dec 2005 03:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944694#M412471</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-07T03:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944695#M412472</link>
      <description>I don't see where $BSE gets set. I assume you are setting it in the /etc/profile, or sourcing it into the environment prior to the user's .profile.&lt;BR /&gt;&lt;BR /&gt;You removed quite a few spaces from the menu I posted ealier. I cleaned it up a bit and attached it here. Try this one without editing the spaces.</description>
      <pubDate>Wed, 07 Dec 2005 08:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944695#M412472</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-07T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: user profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944696#M412473</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;The scripts works great. Now I'm having another problem.Option A will work when user group is at primary which is current. Option B will work when I change user group is secondary manually.&lt;BR /&gt;&lt;BR /&gt;How do I change the gid according to respective ERP apps via script? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Mok</description>
      <pubDate>Wed, 07 Dec 2005 08:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-profile/m-p/4944696#M412473</guid>
      <dc:creator>Mohd Mohtar</dc:creator>
      <dc:date>2005-12-07T08:54:08Z</dc:date>
    </item>
  </channel>
</rss>

