<?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 user problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084154#M441165</link>
    <description>Hi everyone.&lt;BR /&gt;Installing  PHNE_36168 solved the problem&lt;BR /&gt;&lt;BR /&gt;Leonid.</description>
    <pubDate>Sat, 19 Jan 2008 02:37:27 GMT</pubDate>
    <dc:creator>Leonid Mishkind</dc:creator>
    <dc:date>2008-01-19T02:37:27Z</dc:date>
    <item>
      <title>NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084140#M441151</link>
      <description>Hi All . &lt;BR /&gt;I have  a user defined in a NIS.&lt;BR /&gt;When I am logged in to a server this is the output of the id command:&lt;BR /&gt;root@aux1&amp;gt; id omar&lt;BR /&gt;uid=333(omar) gid=20(users)&lt;BR /&gt;su  to the user works fine as well...But, when I run commands like :&lt;BR /&gt;root@aux1&amp;gt; cd ~omar&lt;BR /&gt;sh: ~omar:  not found.&lt;BR /&gt;root@aux1&amp;gt; chown -R omar:users omar&lt;BR /&gt;chown: unknown user id omar&lt;BR /&gt;&lt;BR /&gt;Well, you can see the result for yourself ...&lt;BR /&gt;I did a restart for nis/pwgr and no improvement .&lt;BR /&gt;Please help.&lt;BR /&gt;Leonid.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Dec 2007 12:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084140#M441151</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2007-12-13T12:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084141#M441152</link>
      <description>&lt;!--!*#--&gt;What do you get from commands like these?&lt;BR /&gt;&lt;BR /&gt;   grep omar /etc/passwd&lt;BR /&gt;&lt;BR /&gt;   ypcat passwd | grep omar&lt;BR /&gt;&lt;BR /&gt;   grep passwd /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Dec 2007 22:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084141#M441152</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-13T22:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084142#M441153</link>
      <description>Hi,&lt;BR /&gt;   R u having sudo access??If u r having try login with ur NIS id on one server and add sudo in front of every command.&lt;BR /&gt;  Is ur home directory created in san or in server.And that is auto mounted?? when ur logging??&lt;BR /&gt;  Then try that  commands what steven had given  ..&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;Palani&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 14 Dec 2007 05:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084142#M441153</guid>
      <dc:creator>palaniappan.sp</dc:creator>
      <dc:date>2007-12-14T05:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084143#M441154</link>
      <description>Thanks for the replies. &lt;BR /&gt;1 . No sudo &lt;BR /&gt;2. No Automount&lt;BR /&gt;3. The home dir is SAN device.&lt;BR /&gt;4. root@aux1&amp;gt; ypcat passwd | grep -i omar&lt;BR /&gt;omar:*:333:20:arda omar,55167,,:/users/omar:/bin/tcsh&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Dec 2007 06:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084143#M441154</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2007-12-16T06:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084144#M441155</link>
      <description>&lt;!--!*#--&gt;Ok.  That's one of the three things for which&lt;BR /&gt;I asked.  Let's assume for the moment that I&lt;BR /&gt;really didn't care about the others.  What&lt;BR /&gt;about these?&lt;BR /&gt;&lt;BR /&gt;   ls -ld /users/omar&lt;BR /&gt;&lt;BR /&gt;   ls -l /users/omar&lt;BR /&gt;&lt;BR /&gt;Can I assume that "cd ~root" works, and that&lt;BR /&gt;you aren't using some obsolete shell which&lt;BR /&gt;doesn't understand "~user_name"?</description>
      <pubDate>Sun, 16 Dec 2007 12:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084144#M441155</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-16T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084145#M441156</link>
      <description>I am working with user root which has /sbin/sh.&lt;BR /&gt;root@aux1&amp;gt; ls -ld /users/omar&lt;BR /&gt;lrwxr-xr-x   1 root       sys             16 Dec 13 09:54 /users/omar -&amp;gt; /aux1/users/omar&lt;BR /&gt;&lt;BR /&gt;root@aux1&amp;gt; ls -ld /aux1/users/omar&lt;BR /&gt;drwxr-xr-x   2 root       sys             96 Dec 13 09:54 /aux1/users/omar&lt;BR /&gt;root@aux1&amp;gt;&lt;BR /&gt;&lt;BR /&gt;root@aux1&amp;gt;  ls -l /users/omar/&lt;BR /&gt;total 64&lt;BR /&gt;-r--r--r--   1 root       sys            832 Dec 13 09:54 .cshrc&lt;BR /&gt;-r--r--r--   1 root       sys            347 Dec 13 09:54 .exrc&lt;BR /&gt;-r--r--r--   1 root       sys            334 Dec 13 09:54 .login&lt;BR /&gt;-r--r--r--   1 root       sys            439 Dec 13 09:54 .profile&lt;BR /&gt;&lt;BR /&gt;The files are with root permissions since I cant chown to the user :).&lt;BR /&gt;about the other things ( I really thought you will not care to much )...&lt;BR /&gt;root@aux1&amp;gt; grep -i omar /etc/passwd&lt;BR /&gt;root@aux1&amp;gt;&lt;BR /&gt;&lt;BR /&gt;passwd:       files [NOTFOUND=continue] nis&lt;BR /&gt;group:        nis [NOTFOUND=continue] files&lt;BR /&gt;&lt;BR /&gt;I just found out a very interesting thing... When I change my shell to tcsh the cd ~omar works fine but the chown command still failles on unknown  user</description>
      <pubDate>Sun, 16 Dec 2007 12:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084145#M441156</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2007-12-16T12:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084146#M441157</link>
      <description>and ... cd ~root works fine and all other local users work fine... I checked about 5 nis users ... none of them work....</description>
      <pubDate>Sun, 16 Dec 2007 12:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084146#M441157</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2007-12-16T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084147#M441158</link>
      <description>&amp;gt;I am working with user root which has /sbin/sh.&lt;BR /&gt;&lt;BR /&gt;That's a real shell.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The files are with root permissions since I can't chown to the user.&lt;BR /&gt;&lt;BR /&gt;Sure you can.  Just use a hammer:&lt;BR /&gt;# chown -R 333:users /aux1/users/omar&lt;BR /&gt;&lt;BR /&gt;&amp;gt;omar:*:333:20:arda omar,55167,,:/users/omar:/bin/tcsh&lt;BR /&gt;&lt;BR /&gt;If you have a "*", how can you log in without using su(1)?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;When I change my shell to tcsh&lt;BR /&gt;&lt;BR /&gt;Probably because that isn't a real shell. :-)</description>
      <pubDate>Sun, 16 Dec 2007 13:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084147#M441158</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-16T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084148#M441159</link>
      <description>&lt;!--!*#--&gt;Ok.  The ypcat result makes it appear that&lt;BR /&gt;NIS is working, but that it's being ignored.&lt;BR /&gt;&lt;BR /&gt;Is this one of those cases where you need a&lt;BR /&gt;   +&lt;BR /&gt;line at the end of /etc/passwd (and&lt;BR /&gt;/etc/group)?&lt;BR /&gt;&lt;BR /&gt;   man 4 passwd  (And look for NIS.)&lt;BR /&gt;&lt;BR /&gt;Otherwise, I'm running low on ideas.</description>
      <pubDate>Sun, 16 Dec 2007 21:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084148#M441159</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-16T21:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084149#M441160</link>
      <description>Hi Leonid,&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;and ... cd ~root works fine and all other local users work fine... I checked about 5 nis users ... none of them work....&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;I've got a feeling your shell is missing a step, nis gets its information from your nis master server&lt;BR /&gt;&lt;BR /&gt;omar:*:333:20:arda omar,55167,,:/users/omar:/bin/tcsh&lt;BR /&gt;&lt;BR /&gt;On you local server you have &lt;BR /&gt;/users/omar but that is linked to a NAS filesystem.If you use $HOME (ksh) or ~home (csh) you shell expects the directory to be mounted, you shell does not do a change directory!&lt;BR /&gt;&lt;BR /&gt;I think you can solve this by either using the automounter and link the user to a nfs mounted filesystem or adding the info of the local homedir to the passwd file.&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt;+omar:::::/aux1/users/omar:&lt;BR /&gt;get all info from the NIS master/slave except the info of the homedir.&lt;BR /&gt; &lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sun, 16 Dec 2007 22:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084149#M441160</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2007-12-16T22:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084150#M441161</link>
      <description>Has this stuff ever worked in the past, or is&lt;BR /&gt;this a new installation/configuration?&lt;BR /&gt;&lt;BR /&gt;HP-UX version?</description>
      <pubDate>Mon, 17 Dec 2007 05:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084150#M441161</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-17T05:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084151#M441162</link>
      <description>Hi everyone . Sorry for such a late reply , I was sick for a few days.&lt;BR /&gt;Robert â   What do you mean when you say shell is missing a step?&lt;BR /&gt;The home dir is not a NFS.&lt;BR /&gt;I think that compat mode will solve the problem but this is not a good solution for me since I have to much NIS users that use this server.&lt;BR /&gt;Steven â   I cant say if this worked before or not but this is not a new installation. It is HPUX 11.11  and I do have a + at the end of passwd .&lt;BR /&gt;Dennis â   what does it mean real shell and not real shell? &lt;BR /&gt;&lt;BR /&gt;To everyone , I think it might be a patch problem ( I dont have a patch management policie on the server ) . Any suggestions in what to look in the patch description?&lt;BR /&gt;&lt;BR /&gt;Thanks to every one,&lt;BR /&gt;Leonid.</description>
      <pubDate>Tue, 25 Dec 2007 10:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084151#M441162</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2007-12-25T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084152#M441163</link>
      <description>&amp;gt;what does it mean real shell and not real shell?&lt;BR /&gt;&lt;BR /&gt;This was in answer to Steven's "you aren't using some obsolete shell which ...?"&lt;BR /&gt;&lt;BR /&gt;Either ksh or the Posix shell sh.  The later, /sbin/sh, must be the shell for root.&lt;BR /&gt;The opposite of a real shell is the scummy csh.</description>
      <pubDate>Tue, 25 Dec 2007 10:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084152#M441163</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-25T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084153#M441164</link>
      <description>Hi I decide to open a case in HP. Thanks for all the replies.</description>
      <pubDate>Thu, 03 Jan 2008 10:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084153#M441164</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2008-01-03T10:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: NIS user problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084154#M441165</link>
      <description>Hi everyone.&lt;BR /&gt;Installing  PHNE_36168 solved the problem&lt;BR /&gt;&lt;BR /&gt;Leonid.</description>
      <pubDate>Sat, 19 Jan 2008 02:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-user-problem/m-p/5084154#M441165</guid>
      <dc:creator>Leonid Mishkind</dc:creator>
      <dc:date>2008-01-19T02:37:27Z</dc:date>
    </item>
  </channel>
</rss>

