<?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: Adding NIS user accounts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554301#M370932</link>
    <description>&amp;gt;The end of the /etc/passwd file, assuming the one in question is that on the slave, does not contain any of the 'traditional' + and other symbols.&lt;BR /&gt;&lt;BR /&gt;Then your slave won't know about that UID.  Either it has to be in passwd(4) or found with NIS.</description>
    <pubDate>Thu, 31 Dec 2009 16:55:36 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-12-31T16:55:36Z</dc:date>
    <item>
      <title>Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554290#M370921</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;We have an NIS domain that contains a master and two NIS slave servers with the user home directories located on one of the latter systems. The master NIS server is running HP-UX 11.00 while the slave servers are running the 11.11 release.&lt;BR /&gt;&lt;BR /&gt;When it comes time to add new user accounts, the home directories need to be located on the slave server. When I create the accounts, preferably through SAM, do I need to run the utility on the slave server in question, or is there a way to do this procedure on the master? If I run the procedure on the slave server, does NIS automatically update, or do I need to do the update manually? Thanks.</description>
      <pubDate>Tue, 22 Dec 2009 16:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554290#M370921</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-12-22T16:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554291#M370922</link>
      <description>&lt;!--!*#--&gt;&amp;gt; When I create the accounts, preferably&lt;BR /&gt;&amp;gt; through SAM, do I need to run the utility&lt;BR /&gt;&amp;gt; on the slave server in question, or is&lt;BR /&gt;&amp;gt; there a way to do this procedure on the&lt;BR /&gt;&amp;gt; master?&lt;BR /&gt;&lt;BR /&gt;It's called the master for a reason.  If you&lt;BR /&gt;want the new accounts to be in the NIS data&lt;BR /&gt;base, then you should probably add them on&lt;BR /&gt;the NIS master server.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] the home directories need to be&lt;BR /&gt;&amp;gt; located on the slave server. &lt;BR /&gt;&lt;BR /&gt;Who cares?  Home directory paths are just&lt;BR /&gt;character strings in "/etc/passwd" (or&lt;BR /&gt;wherever).  Someone probably needs to create&lt;BR /&gt;each user's home directory sometime, but that&lt;BR /&gt;operation has little to do with NIS.  If you&lt;BR /&gt;want SAM to create the things, then it'd help&lt;BR /&gt;if it could use NFS (or something) to do&lt;BR /&gt;that, but (without actually looking) I'd&lt;BR /&gt;assume that you could create the directory&lt;BR /&gt;outside of SAM, and tell SAM not to worry its&lt;BR /&gt;pretty little head.</description>
      <pubDate>Tue, 22 Dec 2009 16:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554291#M370922</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-22T16:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554292#M370923</link>
      <description>After you have edited the NIS maps on the master server, you must do a ypmake to rebuild the NIS database and a yppush to propagate the new maps to the slaves. I don't know the SAM way. If you have automounter NIS maps, edit these too (that's because we do this everytime manually and not with SAM) and after that create the home on the slave that operating as NFS server. That's it. And do not forget to change the ownership of the home!&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Dec 2009 15:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554292#M370923</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-23T15:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554293#M370924</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Add the accounts on the master server. You should not have to create home directories on the slaves manually if NIS is working right and the home directory is present.&lt;BR /&gt;&lt;BR /&gt;ypmake &lt;BR /&gt;&lt;BR /&gt;# When done.&lt;BR /&gt;&lt;BR /&gt;All NIS accounts must be created on the master server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 23 Dec 2009 15:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554293#M370924</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-12-23T15:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554294#M370925</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I went through the motions of creating a new user account on the master NIS server and running the ypmake command after the user account was created. There were no apparent error messages. Because the slave NIS server is where the user home directory will be located, I ran the chown and chmod commands on the master NIS server so that root would own the newly created directory and only root would have access to it. &lt;BR /&gt;&lt;BR /&gt;I then went to the slave NIS server, and created a copy of the user home directory. The problem that I am seeing is the following: When I tried to change the ownership of the directory on the slave server so the user account would own it, the error message I encountered was the following:&lt;BR /&gt;&lt;BR /&gt;unknown user id &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;When I log into the any of the nis servers or clients as the user in question, I am able to do so. However, because the home directory on the slave server is still owned by root, the user account cannot save any files within it. I ran the ypcat passwd command with the username, and it did give the expected output for the user. &lt;BR /&gt;&lt;BR /&gt;I tried running the ypxfr passwd.byname and the ypxfr passwd.byuid commands from the slave nis server, but the response I got in both cases was the mapfile on the master nis server was not newer than that on the slave server. &lt;BR /&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 29 Dec 2009 21:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554294#M370925</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-12-29T21:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554295#M370926</link>
      <description>&lt;!--!*#--&gt;As usual, I'd prefer to see the actual&lt;BR /&gt;commands with their actual output, instead of&lt;BR /&gt;these confusing descriptions.  References to&lt;BR /&gt;"the newly created directory" and "created a&lt;BR /&gt;copy of the user home directory" are not&lt;BR /&gt;telling me anything which I can grasp&lt;BR /&gt;securely.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; unknown user id &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  When I log into [...] I am able to do so.&lt;BR /&gt;&lt;BR /&gt;These would seem (to me) to be inconsistent.&lt;BR /&gt;&lt;BR /&gt;   Potentially interesting info:&lt;BR /&gt;&lt;BR /&gt;Contents of "/etc/nsswitch.conf" files.&lt;BR /&gt;&lt;BR /&gt;Output from "domainname" everywhere.&lt;BR /&gt;&lt;BR /&gt;Output from "ypwhich -m" everywhere.&lt;BR /&gt;&lt;BR /&gt;Output from "ypcat passwd | grep &lt;USER&gt;"&lt;BR /&gt;where the chown command fails.&lt;BR /&gt;&lt;BR /&gt;The actual failing chown command, and enough&lt;BR /&gt;"ls -l" output to show what's what, where.&lt;/USER&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 29 Dec 2009 21:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554295#M370926</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-29T21:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554296#M370927</link>
      <description>&amp;gt;"...and it did give the expected output for the user."&lt;BR /&gt;&lt;BR /&gt;At least, the output YOU have expected.&lt;BR /&gt;yepp, Steven has right. If you want us to help you, provide the exact commands and its outputs.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Dec 2009 14:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554296#M370927</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-30T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554297#M370928</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;Sorry about the confusion. The commands in question are the following: &lt;BR /&gt;&lt;BR /&gt;1. When trying to change the ownership of the directory on the slave NIS server, the command syntax was the following: &lt;BR /&gt;&lt;BR /&gt;chown baw32:users baw32&lt;BR /&gt;&lt;BR /&gt;This generated the error: &lt;BR /&gt;&lt;BR /&gt;unknown user id baw32&lt;BR /&gt;&lt;BR /&gt;The contents of the /etc/nsswitch.conf file are included as an attachment to this posting. &lt;BR /&gt;&lt;BR /&gt;The output of the domainname command from both master and slave nis servers is radonc. This is the correct name of the domain.&lt;BR /&gt;&lt;BR /&gt;The output of the ypwhich -m command, which was also run on the master and slave servers, is shown below:&lt;BR /&gt;&lt;BR /&gt;netgroup.byuser space&lt;BR /&gt;ypservers space&lt;BR /&gt;servi.bynp space&lt;BR /&gt;auto.master space&lt;BR /&gt;mail.aliases space.mgh.harvard.edu&lt;BR /&gt;mail.byaddr space&lt;BR /&gt;netid.byname space&lt;BR /&gt;publickey.byname space&lt;BR /&gt;services.byname space&lt;BR /&gt;rpc.bynumber space&lt;BR /&gt;protocols.bynumber space&lt;BR /&gt;protocols.byname space&lt;BR /&gt;passwd.byuid space&lt;BR /&gt;passwd.byname space&lt;BR /&gt;networks.byname space&lt;BR /&gt;networks.byaddr space&lt;BR /&gt;netgroup.byhost space&lt;BR /&gt;group.byname space&lt;BR /&gt;rpc.byname space&lt;BR /&gt;netgroup space&lt;BR /&gt;hosts.byname space&lt;BR /&gt;hosts.byaddr space&lt;BR /&gt;group.bygid space&lt;BR /&gt;&lt;BR /&gt;The space server is the master nis server, so the output appears to be correct. &lt;BR /&gt;&lt;BR /&gt;The output for the ypcat passwd command on the slave nis server, where the problem is occurring is shown below:&lt;BR /&gt;&lt;BR /&gt;baw32:NAXMnjvsqzIm6:225:20:,,,:/usr/oahu/baw32:/usr/local/bin/tcsh&lt;BR /&gt;&lt;BR /&gt;Here is the output of the chown commmand that is failing:&lt;BR /&gt;&lt;BR /&gt;root@cosmos1:/user2&amp;gt;  pwd&lt;BR /&gt;/user2&lt;BR /&gt;root@cosmos1:/user2&amp;gt;  chown baw32:users baw32&lt;BR /&gt;chown: unknown user id baw32&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Dec 2009 23:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554297#M370928</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-12-30T23:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554298#M370929</link>
      <description>&amp;gt;root@cosmos1:/user2&amp;gt; chown baw32:users baw32&lt;BR /&gt;&amp;gt;chown: unknown user id baw32&lt;BR /&gt;&lt;BR /&gt;I think you must propagate your NIS maps the slaves with yppush. Though I don't know why this user can be found in ypcat passwd. These two seems inconsistent. Try "su baw32" on the slave and post the output.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Dec 2009 15:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554298#M370929</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-31T15:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554299#M370930</link>
      <description>Since ypcat works, what do you have at the end of your /etc/passwd file?  That "+" entry?</description>
      <pubDate>Thu, 31 Dec 2009 15:57:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554299#M370930</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-31T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554300#M370931</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I ran the su baw32 on the slave NIS server, and the output is the following:&lt;BR /&gt;&lt;BR /&gt;su baw32&lt;BR /&gt;su: Unknown id: baw32&lt;BR /&gt;&lt;BR /&gt;The end of the /etc/passwd file, assuming the one in question is that on the slave, does not contain any of the 'traditional' + and other symbols. &lt;BR /&gt;&lt;BR /&gt;It should be noted that the master NIS server is running HP-UX 11.00 while its slave counterpart is running HP-UX 11.11.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Dec 2009 16:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554300#M370931</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2009-12-31T16:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554301#M370932</link>
      <description>&amp;gt;The end of the /etc/passwd file, assuming the one in question is that on the slave, does not contain any of the 'traditional' + and other symbols.&lt;BR /&gt;&lt;BR /&gt;Then your slave won't know about that UID.  Either it has to be in passwd(4) or found with NIS.</description>
      <pubDate>Thu, 31 Dec 2009 16:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554301#M370932</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-31T16:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554302#M370933</link>
      <description>If you don't want to fiddle with passwd(4), due to chicken and egg issues?, I assume you can just use UIDs and not names:&lt;BR /&gt;chown 225:users /user2/baw32</description>
      <pubDate>Thu, 31 Dec 2009 17:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554302#M370933</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-31T17:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554303#M370934</link>
      <description>Hi there -- &lt;BR /&gt;&lt;BR /&gt;I ran the command chown 225:users /user2/baw32, and that was successful. As a test, I logged in as the user baw32, and ran touch test command. The file was created in the user's home directory. &lt;BR /&gt;&lt;BR /&gt;It was suggested also, the /usr/sbin/pwgrd binary be stopped and restarted. Once that was done, I ran the pwget -u baw32 command, and this time the slave nis server recognized the user account. &lt;BR /&gt;&lt;BR /&gt;It appears the stopping and restarting of the pwgrd binary solved the problem. Thanks again for the help.</description>
      <pubDate>Mon, 04 Jan 2010 18:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554303#M370934</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-01-04T18:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554304#M370935</link>
      <description>&amp;gt;Thanks again for the help.&lt;BR /&gt;&lt;BR /&gt;If you are happy with your answers, please read the following about how to assign points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Mon, 04 Jan 2010 18:35:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554304#M370935</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-01-04T18:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554305#M370936</link>
      <description>The button that will allow me to assign points is not showing up on the web page. Any ideas?</description>
      <pubDate>Mon, 04 Jan 2010 19:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554305#M370936</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2010-01-04T19:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NIS user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554306#M370937</link>
      <description>&amp;gt;The button that will allow me to assign points is not showing up on the web page.&lt;BR /&gt;&lt;BR /&gt;It appears you have two IDs.  You must use your original/author one:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/publicProfile.do?userId=BR710975&amp;amp;forumId=1" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/publicProfile.do?userId=BR710975&amp;amp;forumId=1&lt;/A&gt;</description>
      <pubDate>Mon, 04 Jan 2010 19:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-nis-user-accounts/m-p/4554306#M370937</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-01-04T19:26:42Z</dc:date>
    </item>
  </channel>
</rss>

