<?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 &amp;amp; User Home Directory on a different Server. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221573#M170409</link>
    <description>I assume that you are using automounted /home directories with NIS managing the automount maps as well as the passwd/group files.&lt;BR /&gt;&lt;BR /&gt;It's really not very complicated.&lt;BR /&gt;1) On each target host, create a skeleton directory structure to hold prototypes for .profile, .dtprofile, etc. for each user.&lt;BR /&gt;Let's call it /root/skel/User1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now for each new user after adding to passwd/group:&lt;BR /&gt;&lt;BR /&gt;remsh ${REMHOST} "mkdir /home/${NEWUSER}"&lt;BR /&gt;remsh ${REMHOST} "find /root/skel/User1 -print | cpio -pudvm /home/${NEWUSER}/"&lt;BR /&gt;remsh ${REMHOST} chown -R ${NEWUSER}:${NEWGROUP} /home/${NEWUSER}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Mar 2004 10:43:07 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-03-17T10:43:07Z</dc:date>
    <item>
      <title>NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221572#M170408</link>
      <description>I have an NIS environment. I am trying to add  users, the home directory for these users is not local i.e the home dirs are on remote servers.Appreciate input from folks who have implemented this setup as to how this can be done and details for the same.&lt;BR /&gt;&lt;BR /&gt;Note : Logging into each server and manually creating the home directory is not an option for me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Lenin.</description>
      <pubDate>Wed, 17 Mar 2004 10:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221572#M170408</guid>
      <dc:creator>Lenin Antao</dc:creator>
      <dc:date>2004-03-17T10:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221573#M170409</link>
      <description>I assume that you are using automounted /home directories with NIS managing the automount maps as well as the passwd/group files.&lt;BR /&gt;&lt;BR /&gt;It's really not very complicated.&lt;BR /&gt;1) On each target host, create a skeleton directory structure to hold prototypes for .profile, .dtprofile, etc. for each user.&lt;BR /&gt;Let's call it /root/skel/User1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now for each new user after adding to passwd/group:&lt;BR /&gt;&lt;BR /&gt;remsh ${REMHOST} "mkdir /home/${NEWUSER}"&lt;BR /&gt;remsh ${REMHOST} "find /root/skel/User1 -print | cpio -pudvm /home/${NEWUSER}/"&lt;BR /&gt;remsh ${REMHOST} chown -R ${NEWUSER}:${NEWGROUP} /home/${NEWUSER}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2004 10:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221573#M170409</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-17T10:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221574#M170410</link>
      <description>Clay :&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response. However as I am green in the NIS admin part I would like some details on what you meant by "having  automounted /home directories with NIS managing the automount maps." &lt;BR /&gt;and how can I implement it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2004 10:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221574#M170410</guid>
      <dc:creator>Lenin Antao</dc:creator>
      <dc:date>2004-03-17T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221575#M170411</link>
      <description>Check the /etc/nsswitch.conf file on the clients.  If you have nis on the automount line, then the clients are using NIS maps for automount.  You would then need to edit the auto_master (and any files it references) to automount the home directories from the NFS home directory servers.  You then need to remake the NIS maps.</description>
      <pubDate>Wed, 17 Mar 2004 11:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221575#M170411</guid>
      <dc:creator>Brian Vance</dc:creator>
      <dc:date>2004-03-17T11:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221576#M170412</link>
      <description>I assume you have setup the NFS mount directories.  If not you need to do this first export the local home dirs on SERVER A&lt;BR /&gt;&lt;BR /&gt;vi /etc/exports file and enter some file system to be exported /home&lt;BR /&gt;&lt;BR /&gt;then type in exportsfs -a&lt;BR /&gt;&lt;BR /&gt;have a look here for more info&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/pdf/B1031-90043.pdf" target="_blank"&gt;http://www.docs.hp.com/hpux/pdf/B1031-90043.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;on your remote machine SERVER B in the root dir create a directory called allhomes&lt;BR /&gt;&lt;BR /&gt;vi the /etc/fstab on the last line&lt;BR /&gt;add something like&lt;BR /&gt;&lt;BR /&gt;SERVER A:/home /allhomes nfs rw,suid 0 0&lt;BR /&gt;&lt;BR /&gt;and type mount -a&lt;BR /&gt;&lt;BR /&gt;this will get you going, have a read of the docs.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Martin.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2004 11:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221576#M170412</guid>
      <dc:creator>The Real MD</dc:creator>
      <dc:date>2004-03-17T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221577#M170413</link>
      <description>This document will get you started:&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&amp;amp;con=/hpux/onlinedocs/B1031-90048/00/00/3-con.html&amp;amp;toc=/hpux/onlinedocs/B1031-90048/00/00/3-toc.html&amp;amp;searchterms=NIS%7cManaging&amp;amp;queryid=20040317-091312" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&amp;amp;con=/hpux/onlinedocs/B1031-90048/00/00/3-con.html&amp;amp;toc=/hpux/onlinedocs/B1031-90048/00/00/3-toc.html&amp;amp;searchterms=NIS%7cManaging&amp;amp;queryid=20040317-091312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but I really suggest that you get a copy of the O'reilly book "Managing NFS and NIS". It will tell you everything you need to know.&lt;BR /&gt;&lt;BR /&gt;Finally, unless you have some compelling reason to learn NIS, you would be better served to learn LDAP. NIS (or NIS+) is not a long-term solution.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2004 11:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221577#M170413</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-17T11:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: NIS &amp; User Home Directory on a different Server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221578#M170414</link>
      <description>Guys :&lt;BR /&gt;&lt;BR /&gt;Thanks for you answers.&lt;BR /&gt;&lt;BR /&gt;Lenin</description>
      <pubDate>Wed, 17 Mar 2004 11:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-amp-user-home-directory-on-a-different-server/m-p/3221578#M170414</guid>
      <dc:creator>Lenin Antao</dc:creator>
      <dc:date>2004-03-17T11:30:34Z</dc:date>
    </item>
  </channel>
</rss>

