<?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 issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513882#M218722</link>
    <description>OK, my system is back up and fully operational.  The final poriton which was preventing the users from accessing the system, was I needed to go into the various log files and change the chmod from 755 to 775 to allow the apps to write to the log files.  Once I did this the user logins could work.&lt;BR /&gt;&lt;BR /&gt;Thanks for all of the help.  This makes me feel more confiednt in using the HP forums as solid viable resources.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Mar 2005 14:20:12 GMT</pubDate>
    <dc:creator>raymond cavanaugh_2</dc:creator>
    <dc:date>2005-03-30T14:20:12Z</dc:date>
    <item>
      <title>.profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513864#M218704</link>
      <description>We are having a problem with, I assume our .profile.  This started at the end of the work day, and I've checked the .profiles of some of our other directories, but am unable to resolve the problem.  We've checked the permissions and ownership and nothing seems out of sync.  Also, when back to a backup tape and recovered a known good .profile, but that didn't work either.  Next rebooted the server and logged back on, but still unsuccessful. We've checked the other set .profiles and .chrsc(s), but can not find any issues which would cause the problems. Any suggestions to this problem?</description>
      <pubDate>Tue, 29 Mar 2005 20:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513864#M218704</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-29T20:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513865#M218705</link>
      <description>Depends - what is the problem?&lt;BR /&gt;&lt;BR /&gt;Check shell in /etc/passwd....&lt;BR /&gt;&lt;BR /&gt;Check /etc/profile....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 29 Mar 2005 20:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513865#M218705</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-29T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513866#M218706</link>
      <description>Check the permissions, or the ownership of the passwd and profile?  There does not seem to be anything out of the norm there.  also when I do a su - to a specific user, rather than it going to the /home directory of the specified user I will be prompted to be the user, but will place me in the directory where I last was at before I did the su - .  We have a form menu set up for these users and it (the unix box) is not directing them to that form.  There is a path in there .profile which directs them to the form menu, and in this case it is not.</description>
      <pubDate>Tue, 29 Mar 2005 20:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513866#M218706</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-29T20:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513867#M218707</link>
      <description>It sounds like your profiles are not being run at all. Let's start with the shell. Is it the standard POSIX shell (/usr/bin/sh)? Does /etc/profile get executed (hint: add an echo at the front of /etc/profile)? If none of your profiles are being run, something fairly serious has occurred. A possibility is that root has changed top level directories (never a good idea). Make sure that / /opt /usr /var /home are all 755 (drwxr-xr-x). Somebody may be trying to improve security with all the details.</description>
      <pubDate>Tue, 29 Mar 2005 22:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513867#M218707</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-29T22:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513868#M218708</link>
      <description>Well, I was going to tell you it didn't work, but now it does!  I guess the system has to take.  But I do still get a minor error saying (su/var/tmp/sh2950.13: Cannot create the specified file.)&lt;BR /&gt;In the /var/tmp directory the sh**** files are set at 6 and I changed the ownership to oracle:dba.&lt;BR /&gt;&lt;BR /&gt;Also with this point system how do I award the points?  I tried it once before, but was unsuccessful.</description>
      <pubDate>Tue, 29 Mar 2005 23:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513868#M218708</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-29T23:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513869#M218709</link>
      <description>You wrote:&lt;BR /&gt; &lt;BR /&gt;"But I do still get a minor error saying (su/var/tmp/sh2950.13: Cannot create the specified file.) In the /var/tmp directory the sh**** files are set at 6 and I changed the ownership to oracle:dba.&lt;BR /&gt; &lt;BR /&gt;First, the path: su/var/tmp/sh2950.13 means that in whatever directory you are now located, the su directory as well as the subdirectories var and tmp must exist before the file can be created. I doubt that this is what was intended. If the "su" was a typo and the directory is /var/tmp, then the permissions on /var/tmp are 777 (or 1777) and owner is bin:bin.&lt;BR /&gt; &lt;BR /&gt;Now the files can be 666 although that is bad sysadmin practice, they should be 644 or even 600. Look at the contents of the sh* files--they are probably temp files that can be removed.</description>
      <pubDate>Wed, 30 Mar 2005 08:57:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513869#M218709</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-30T08:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513870#M218710</link>
      <description>As Bill says, you need the sticky bit set on /var/tmp&lt;BR /&gt;&lt;BR /&gt;chmod +t /var/tmp&lt;BR /&gt;&lt;BR /&gt;As far as points go:&lt;BR /&gt;&lt;BR /&gt;How Do I Assign Points? &lt;BR /&gt;Only the question author can assign points to a given response. If you submit a question or new topic and another member replies to it, you will see a dropdown menu of points next to the reply (you must be logged in to see the menu). Select the point value and then click the "submit points" button. Note that you can rate multiple replies and submit them at one time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2005 09:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513870#M218710</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-30T09:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513871#M218711</link>
      <description>Ok, I've done all of this and still the same problem.  I've also spoken by phone to another SA who is now a DBA, and after talking with her, we think it has to do with the environment within the .profile .  We have a general directory where most of the users log in and use the same .profile, to process in applications written for them.  I went to my backups again to retrieve an older .profile before this started and tried to login or su - username to see if it would work.  I can get the menu, but not into the applications listed within the menu.  I did a vipw to check the passwd file, but could see nothing wrong as of yet.  &lt;BR /&gt;The other suggestions you've both gave has helped me to allow other users onto the system, but not these users.  Any more suggestions?</description>
      <pubDate>Wed, 30 Mar 2005 10:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513871#M218711</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T10:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513872#M218712</link>
      <description>You need to verify the correct environment  and store it into a file. Hint:&lt;BR /&gt; &lt;BR /&gt;set &amp;gt; /tmp/user1-localenv&lt;BR /&gt;env &amp;gt; /tmp/user-2myglobalenv&lt;BR /&gt; &lt;BR /&gt;Then login to a working user's account and do the same thing. Now compare the two files:&lt;BR /&gt; &lt;BR /&gt;diff /tmp/user1-localenv /tmp/user2-localenv&lt;BR /&gt;diff /tmp/user1-globalenv /tmp/user2-globalenv&lt;BR /&gt; &lt;BR /&gt;Now this all assumes a *NORMAL* login using telnet and /usr/bin/sh as the shell. Since you said that users are sharing the same $HOME directory (is that correct?), this can be extremely problematic (anyone of them can mess around with local files and directories). Shared $HOME is not a stable way to control environments, in fact it has the opposite effect.&lt;BR /&gt; &lt;BR /&gt;If the users are not Unix-savvy, don't give them any command shell at all. Instead, write a clean shell script menu so they never get a shell prompt. This script becomes the user's shell in /etc/passwd and each user has their own $HOME with a simple .profile (the menu program takes care of all the required settings).&lt;BR /&gt; &lt;BR /&gt;You might have to explain a bit more on how the users actually login (what is their shell and what is run automatically?).</description>
      <pubDate>Wed, 30 Mar 2005 10:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513872#M218712</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-30T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513873#M218713</link>
      <description>Our users actually have their own /home directories, it's a copy of the general user directory.  I had another SA come down to help setup a menu screen added into the .profile of these users to prevent what you're saying, knowing it would happen.  They login and get a screen form allowing them six selections 1-5 and a z to exit.  I can log into the screen, and exit from the screen, but it will not allow them into the application menus.  Also, we are running oracle 6i forms and they can not get into the forms60 the system says can not find.  The forms60 is out there, but it wouldn't or cann't see it.&lt;BR /&gt;We've had problems with the unix server in the past, due to the network switching to Active Directory, or the network people running scans on the network, or using SMS to different systems.  &lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2005 11:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513873#M218713</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T11:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513874#M218714</link>
      <description>pwck&lt;BR /&gt;grpck&lt;BR /&gt;logins -d&lt;BR /&gt;logins&lt;BR /&gt;&lt;BR /&gt;Still confused about what exactly is your problem.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 30 Mar 2005 11:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513874#M218714</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-30T11:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513875#M218715</link>
      <description>Ok, the problem is for some reason our common users can not get into their applications.  They can now get into the screen menu, but can not do anything other that get to the screen menu, other than exit from the screen.  Don't get me wrong, between you two responders, I've been able to allow some of the other less common users onto the system again so they can process there data, but for some reason the menu works but will not allow them to access there applications.  The menu does a loop and if I try to access the application without the menu?  I get a (jssadp: /var/tmp/sh****.##) error.  The jssadp being the application error.  This particular application resides in the /user directory the users are attempting to access and not the /home directory.</description>
      <pubDate>Wed, 30 Mar 2005 11:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513875#M218715</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513876#M218716</link>
      <description>Correct perms on apps?? Correct menu script??&lt;BR /&gt;&lt;BR /&gt;Run the menu script through set -vx and check if it executes ok or not.</description>
      <pubDate>Wed, 30 Mar 2005 11:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513876#M218716</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-30T11:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513877#M218717</link>
      <description>I tried to run the script as a local user, in this case it's called /comp.  went into where the screen menu resides and tried that first.  Same result as before, then went into where the app menu resides and just tried to execute the menu app. with the same result and giving me an error from /var/tmp.</description>
      <pubDate>Wed, 30 Mar 2005 12:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513877#M218717</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T12:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513878#M218718</link>
      <description>If you su to the user - can you run the menu manually?  can you launch the apps manually?&lt;BR /&gt;&lt;BR /&gt;Can you post the menu?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 30 Mar 2005 13:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513878#M218718</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-30T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513879#M218719</link>
      <description>Actually I called a couple of the programmers for the applications in question, and they said it has to do with the PATH of the .profile .  It is missing something there.  I can execute the applications as a local user, and one of the applications will execute but not the other applications.  The menu does not want to play with the other applications nicely.</description>
      <pubDate>Wed, 30 Mar 2005 13:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513879#M218719</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T13:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513880#M218720</link>
      <description>As a user with which you want to access the apps, logon. (no menu business)&lt;BR /&gt;&lt;BR /&gt;type apps1&lt;BR /&gt;type apps2&lt;BR /&gt;&lt;BR /&gt;Does it resolve?? Does menu script sets the PATH?? If yes, Change to&lt;BR /&gt;PATH=$PATH:/something/xx:/cc/vv</description>
      <pubDate>Wed, 30 Mar 2005 13:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513880#M218720</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-30T13:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513881#M218721</link>
      <description>Sounds like you need to set the PATH environment for each menu option...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 30 Mar 2005 14:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513881#M218721</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-30T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513882#M218722</link>
      <description>OK, my system is back up and fully operational.  The final poriton which was preventing the users from accessing the system, was I needed to go into the various log files and change the chmod from 755 to 775 to allow the apps to write to the log files.  Once I did this the user logins could work.&lt;BR /&gt;&lt;BR /&gt;Thanks for all of the help.  This makes me feel more confiednt in using the HP forums as solid viable resources.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2005 14:20:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513882#M218722</guid>
      <dc:creator>raymond cavanaugh_2</dc:creator>
      <dc:date>2005-03-30T14:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: .profile issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513883#M218723</link>
      <description>It sounds like no one really knows what is required to get the menu and apps working correctly. If the programmers/DBAs think PATH is wrong, what exactly is wrong? In 'normal' logins, the file /etc/PATH has the default PATH value. Users can then modify their local .profile to add, change or replace the PATH variable. Normal .profile maintenance would use something like:&lt;BR /&gt; &lt;BR /&gt;export PATH=$PATH:/some/new/path/or/2&lt;BR /&gt; &lt;BR /&gt;You're going to have to trace the menu operations because the visible errors aren't giving you any clues. Login to a user that works OK but don't run the menu. If the menu is run automatically, put the word: echo in front of it. Once in the shell, run the menu program like this:&lt;BR /&gt; &lt;BR /&gt;sh -x /comp 2&amp;gt;/tmp/menu.log&lt;BR /&gt; &lt;BR /&gt;Now the menu will run but a trace of each step will be put into the menu.log file. NOTE: /comp is a bad place for any executables or scripts. Once you get the trace output, you can see where it fails UNLESS the script has a number of functions (sh -x only traces the main program) or the script calls other scripts. You can put set -x into each of the menu functions and subscripts.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;The error message: jssadp: /var/tmp/sh****.## likely indicates that the jssadp script needs some tracing. If there are any sh****.## files in /var/tmp, look at the contents and see if you can correlate them to something in the jssadp script.</description>
      <pubDate>Wed, 30 Mar 2005 14:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-issue/m-p/3513883#M218723</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-30T14:23:39Z</dc:date>
    </item>
  </channel>
</rss>

