<?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: NIS users not getting the shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598763#M593237</link>
    <description>Check that mountpoint and home directory has execute permissions.  This could explain why the user isn't able to go into his home directory.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Mon, 22 Oct 2001 15:12:39 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-10-22T15:12:39Z</dc:date>
    <item>
      <title>NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598749#M593223</link>
      <description>Hi, all&lt;BR /&gt;D-380 running 10.2 is a NIS client, executes all NIS commands, but when NIS user logged in profile file will be executed but does give the shell, it just hangs.nisswitch,passwd file are correct. if anybody knows solution pls respond.&lt;BR /&gt;&lt;BR /&gt;ravi</description>
      <pubDate>Mon, 22 Oct 2001 11:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598749#M593223</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-22T11:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598750#M593224</link>
      <description>Sounds like it's shell related ....have you tried changing it checking in /etc/shells ... OR ...&lt;BR /&gt;&lt;BR /&gt;Is the users $HOME NFS mounted too and this is the problem of the histfile needing to be local ?</description>
      <pubDate>Mon, 22 Oct 2001 11:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598750#M593224</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-10-22T11:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598751#M593225</link>
      <description>Don't know if you already tried this, but try setting HISTFILE to any non-NFS mounted filesystem.  I know there was an issue with NFS home directories, KSH and the HISTFILE environment variable.  In /etc/profile, set HISTFILE=/tmp/.sh_history.$LOGNAME.$$.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 22 Oct 2001 12:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598751#M593225</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-22T12:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598752#M593226</link>
      <description>Hi, alex&lt;BR /&gt;&lt;BR /&gt;Yes the users HOME dir is NFS mounted. it's working fine in all machines except this machine. configs of all files in all the machines are similar</description>
      <pubDate>Mon, 22 Oct 2001 12:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598752#M593226</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-22T12:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598753#M593227</link>
      <description>Hi, santosh&lt;BR /&gt;I tried your solution before posting this problem. it's not working still</description>
      <pubDate>Mon, 22 Oct 2001 12:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598753#M593227</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-22T12:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598754#M593228</link>
      <description>What happens if you hit control-c during the point where the shell hangs...does it give you a prompt?  Also, try adding set -x to the top of a user's profile to determine where the shell hangs.  Finally, I'm assume that there is no  mount problems, i.e. this machine has no problems mounting the users' home directory(?).&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 22 Oct 2001 12:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598754#M593228</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-22T12:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598755#M593229</link>
      <description>Hi,&lt;BR /&gt;set -x in users profile file.&lt;BR /&gt;when logged in, profile will be executed till the end. ctrl+c,ctrl+d,ctrl+break nothing is giving us the shell.when rebooted system is NFS mounting all filesystems.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 12:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598755#M593229</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-22T12:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598756#M593230</link>
      <description>You could try editting /etc/rc.config.d/nfsconf and adding the following :&lt;BR /&gt;&lt;BR /&gt;LOCKD_OPTIONS="-p 4045"&lt;BR /&gt;&lt;BR /&gt;you *may* get an improvement ?</description>
      <pubDate>Mon, 22 Oct 2001 13:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598756#M593230</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-10-22T13:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598757#M593231</link>
      <description>Hi,&lt;BR /&gt;commenting NFS filesystems in /etc/fstab and after reboot the NIS user can login , but home dir will not changed to user home dir since NFS filesystems are not mounted. If I mounted  NFS filesystem users can't login. &lt;BR /&gt;&lt;BR /&gt;any solutions</description>
      <pubDate>Mon, 22 Oct 2001 13:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598757#M593231</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-22T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598758#M593232</link>
      <description>hi ravi,&lt;BR /&gt;&lt;BR /&gt;whitch mount options do you use?&lt;BR /&gt;export machine should be ok since you can mount on other systems but client options?&lt;BR /&gt;( fstab entry eg.)&lt;BR /&gt;machine:dir /dir nfs hard,intr,bg,retry=10 0 0&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 13:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598758#M593232</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-10-22T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598759#M593233</link>
      <description>This certainly sounds like a problem with the automounter. Since you indicate that hard mount NFS filesystems are ok, I would investigate the problem like this.&lt;BR /&gt;&lt;BR /&gt;1) Stop the automounter&lt;BR /&gt;2) Remove any entries in tmp_mnt&lt;BR /&gt;3) Restart the automounter&lt;BR /&gt;4) As root (who I assume does not have an automounted home directory), try something like ls /home/user1. This will confirm that the automounter is working.&lt;BR /&gt;5) As a regular user (you may need to alter/ create a user that does not have an automounted home directory), repeat step 4. I assume that this user would at least have read permission on /home/user1.&lt;BR /&gt;&lt;BR /&gt;This should help you narrow down the problem.</description>
      <pubDate>Mon, 22 Oct 2001 13:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598759#M593233</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-22T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598760#M593234</link>
      <description>Clay,&lt;BR /&gt;I think he is using hard mount not automount nfs because he says he has remove enty from /etc/fstab. &lt;BR /&gt;&lt;BR /&gt;Can it be permission problem?&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 22 Oct 2001 14:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598760#M593234</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-10-22T14:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598761#M593235</link>
      <description>You may be right Sachin. I can actually read this two ways. I think he is saying that he has both hard mounted NFS directories and automounted home directories. I mean if you are running NIS, why aren't you using the automounter especially for home directories?&lt;BR /&gt;&lt;BR /&gt;If it it hard mounted home directories then I would definitely check the permissions of the mountpoint(s).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 14:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598761#M593235</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-22T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598762#M593236</link>
      <description>Clay, &lt;BR /&gt;That is true. I would also like to see automount use if you are using nis and everyones home is on nfs. &lt;BR /&gt;When I start working here they had many filesystems hard mount all over the places. Finally two years ago we have start using automount. Still no one want to mess with automount. &lt;BR /&gt;If anything in question about automounter they ask me to take a look. I am not expert but I think If I mess it up what can maximum happens (Fireeeeeee) they are not going to kill me.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 22 Oct 2001 15:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598762#M593236</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-10-22T15:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598763#M593237</link>
      <description>Check that mountpoint and home directory has execute permissions.  This could explain why the user isn't able to go into his home directory.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 22 Oct 2001 15:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598763#M593237</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-22T15:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: NIS users not getting the shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598764#M593238</link>
      <description>Ravi,&lt;BR /&gt;&lt;BR /&gt;Not sure if you already solved this one or not.&lt;BR /&gt;First determine if the problem is Automount, or NFS.  You can do this by stopping automount and umounting the NFS mount for the user home directory, and then NFS mount from the command line.  &lt;BR /&gt;Then test the NFS mount e.g. as root, can you cd and ls files, etc.   If that fails, you have an NFS filesystem problem to debug against that NFS Server.   Do all users mount from the same NFS Server, or from several different ones?&lt;BR /&gt;If they mount from differnet NFS Servers, test each one out as above. &lt;BR /&gt;If the NFS mount works as root, then you probably have a file locking problem w/ the NFS Server in question.  Go to that NFS Server and kill rpc.statd and rpc.lockd.  Then remove any entry for the failing NFS client(s) in /var/statmon/sm and sm.bak.  Restart rpc.statd and rpc.lockd and see if the users can now work.  If not, repeat the same procedure of clearing the status monitor directories and restarting rpc.statd and rpc.lockd on all the NFS clients.&lt;BR /&gt;&lt;BR /&gt;If the above STILL fails,export the user HISTFILE to /tmp/.sh_history_$LOGNAME and test again...&lt;BR /&gt;&lt;BR /&gt;I hope this helps get the problem resolved.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Tue, 23 Oct 2001 11:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-users-not-getting-the-shell/m-p/2598764#M593238</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2001-10-23T11:56:00Z</dc:date>
    </item>
  </channel>
</rss>

