<?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: no shell prompt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611423#M376664</link>
    <description>@Dennis  no autofs hard mount  with stale server cause loggin to hang.</description>
    <pubDate>Fri, 02 Apr 2010 10:49:50 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2010-04-02T10:49:50Z</dc:date>
    <item>
      <title>no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611419#M376660</link>
      <description>Not getting shell ($) prompt after entering username and password. this is nis user. this problem is only on one server for 1 user. but the same user can login on other server which are also under NIS.</description>
      <pubDate>Fri, 02 Apr 2010 04:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611419#M376660</guid>
      <dc:creator>Sandeep_Chaudhary</dc:creator>
      <dc:date>2010-04-02T04:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611420#M376661</link>
      <description>&lt;!--!*#--&gt;From the expected "$" prompt, I guess the user's shell is probably sh or ksh, or some other Bourne-type shell that uses /etc/profile.&lt;BR /&gt;&lt;BR /&gt;Does the user have a customized .profile or other login script? &lt;BR /&gt;&lt;BR /&gt;The user might have included something equivalent to "unset PS1" or "PS1=''" to his login script, which would make the user's prompt a null string. This is a common result when the user is learning to customize his/her shell prompt and makes a mistake. I did this once or twice when I was a Unix newbie :-)&lt;BR /&gt;&lt;BR /&gt;Or the user's login script might contain some commands that cause an endless loop or recursion, so the shell can never reach the end of the login script.&lt;BR /&gt;&lt;BR /&gt;To see what's going on, the sysadmin might temporarily add something like this to /etc/profile (replace "testuser" with the username of the user that has the problem):&lt;BR /&gt;&lt;BR /&gt;if [ $(whoami) = "testuser" ]; then&lt;BR /&gt;    set -x&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;This will cause all login script commands to be echoed to the screen just before executing them, so the script execution can be traced. &lt;BR /&gt;&lt;BR /&gt;Such a debugging output may prevent the user from using tools like scp, rcp or rdist, so remember to remove the extra commands from /etc/profile once the problem is solved.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 02 Apr 2010 06:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611420#M376661</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-02T06:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611421#M376662</link>
      <description>2 ideas:&lt;BR /&gt;1) if it is autofs mounted user home directory,&lt;BR /&gt;check if the home can be mounted&lt;BR /&gt;2) often it is opening mail inbox, so check if the inbox is not locked for instance.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2010 07:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611421#M376662</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-04-02T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611422#M376663</link>
      <description>Can you logon with another user and use ps(1) to see what the hung user is doing?&lt;BR /&gt;UNIX95=EXTENDED_PS ps -H -fu hung-user&lt;BR /&gt;&lt;BR /&gt;It could be hung on quotas.  Do you see the /etc/motd?  Do you have any output from ~/.profile that could give you any idea where it is hanging?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Laurent: if it is autofs mounted user home directory&lt;BR /&gt;&lt;BR /&gt;Typically if this happens, it will log you in to / and tell you that it couldn't cd to your home directory.</description>
      <pubDate>Fri, 02 Apr 2010 09:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611422#M376663</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-02T09:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611423#M376664</link>
      <description>@Dennis  no autofs hard mount  with stale server cause loggin to hang.</description>
      <pubDate>Fri, 02 Apr 2010 10:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611423#M376664</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-04-02T10:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: no shell prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611424#M376665</link>
      <description>&amp;gt;Laurent: no, autofs hard mount with stale server cause login to hang.&lt;BR /&gt;&lt;BR /&gt;Possibly.  I have NIS automounted home directory and many times I login without my home directory.  Not sure if hard mounted?</description>
      <pubDate>Sat, 03 Apr 2010 03:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/no-shell-prompt/m-p/4611424#M376665</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-04-03T03:46:57Z</dc:date>
    </item>
  </channel>
</rss>

