<?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 Client Setup in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469781#M37751</link>
    <description>&lt;!--!*#--&gt;What is "his global home directory"?  Will he&lt;BR /&gt;ever use it, if every client puts him into&lt;BR /&gt;some local home directory?&lt;BR /&gt;&lt;BR /&gt;What does the NIS passwd map say his home&lt;BR /&gt;directory is?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there any way to setup [...]&lt;BR /&gt;&lt;BR /&gt;I doubt that there's a good, easy way.  Who&lt;BR /&gt;has permission to create a directory in&lt;BR /&gt;"/localhome"?  Not a normal user, I hope.&lt;BR /&gt;&lt;BR /&gt;Have you thought this through?&lt;BR /&gt;&lt;BR /&gt;I have seen organizations where passwd says&lt;BR /&gt;that home is something like&lt;BR /&gt;"/usr/users/fred", where "/usr/users/fred"&lt;BR /&gt;might be a local directory (or a link to&lt;BR /&gt;one), or else it might be a link to some&lt;BR /&gt;global (often NFS-remote) directory.  So,&lt;BR /&gt;normally fred sees his global home directory,&lt;BR /&gt;but a local one can be arranged on a&lt;BR /&gt;particular system without disturbing the&lt;BR /&gt;passwd data.  A scheme like that does require&lt;BR /&gt;creating appropriate "/usr/users/xxx" links&lt;BR /&gt;for every user on every client system, so&lt;BR /&gt;it's handy to have a script to do it, and a&lt;BR /&gt;way to run it on all the systems.</description>
    <pubDate>Thu, 30 Jul 2009 05:12:18 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-07-30T05:12:18Z</dc:date>
    <item>
      <title>NIS Client Setup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469780#M37750</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We are in a process to setup nis client on our Linux Host. NIS Server is already in place. And we did try to &lt;BR /&gt;setup NIS Client using Yast2 and it seems it has setup properly. We could manage to login onto the NIS Client system using &lt;BR /&gt;our global userid. But additionally our requirement is to be able to land into the local home directory of that user.&lt;BR /&gt;It means we do not wish the user to land onto his global home directory. Instead he should be able to land into something like&lt;BR /&gt;/localhome/username directory.&lt;BR /&gt;Example.&lt;BR /&gt;&lt;BR /&gt;User : mac logs onto the NIS client host using his global password. NIS Client lets him in and he then should land onto&lt;BR /&gt; /localhome/mac directory. Is there any way to setup in such a way that the users home directory (mac) will get automatically&lt;BR /&gt;created when he logs in for the first time??&lt;BR /&gt;Thanx in advance.&lt;BR /&gt;&lt;BR /&gt;Admin</description>
      <pubDate>Thu, 30 Jul 2009 04:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469780#M37750</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2009-07-30T04:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Client Setup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469781#M37751</link>
      <description>&lt;!--!*#--&gt;What is "his global home directory"?  Will he&lt;BR /&gt;ever use it, if every client puts him into&lt;BR /&gt;some local home directory?&lt;BR /&gt;&lt;BR /&gt;What does the NIS passwd map say his home&lt;BR /&gt;directory is?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there any way to setup [...]&lt;BR /&gt;&lt;BR /&gt;I doubt that there's a good, easy way.  Who&lt;BR /&gt;has permission to create a directory in&lt;BR /&gt;"/localhome"?  Not a normal user, I hope.&lt;BR /&gt;&lt;BR /&gt;Have you thought this through?&lt;BR /&gt;&lt;BR /&gt;I have seen organizations where passwd says&lt;BR /&gt;that home is something like&lt;BR /&gt;"/usr/users/fred", where "/usr/users/fred"&lt;BR /&gt;might be a local directory (or a link to&lt;BR /&gt;one), or else it might be a link to some&lt;BR /&gt;global (often NFS-remote) directory.  So,&lt;BR /&gt;normally fred sees his global home directory,&lt;BR /&gt;but a local one can be arranged on a&lt;BR /&gt;particular system without disturbing the&lt;BR /&gt;passwd data.  A scheme like that does require&lt;BR /&gt;creating appropriate "/usr/users/xxx" links&lt;BR /&gt;for every user on every client system, so&lt;BR /&gt;it's handy to have a script to do it, and a&lt;BR /&gt;way to run it on all the systems.</description>
      <pubDate>Thu, 30 Jul 2009 05:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469781#M37751</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-30T05:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Client Setup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469782#M37752</link>
      <description>&lt;BR /&gt;Thanks Stevan,&lt;BR /&gt;&lt;BR /&gt;What is "his global home directory"?  Will he&lt;BR /&gt;ever use it, if every client puts him into&lt;BR /&gt;some local home directory?&lt;BR /&gt;&lt;BR /&gt;Global home directory is NFS shared home directory.&lt;BR /&gt;&lt;BR /&gt;This setup is only required for 1 specific host where in we only need the authentication mechanism from NIS but no home directory concept. So that NIS without NFS.&lt;BR /&gt;&lt;BR /&gt;A scheme like that does require&lt;BR /&gt;creating appropriate "/usr/users/xxx" links&lt;BR /&gt;for every user on every client system, so&lt;BR /&gt;it's handy to have a script to do it, and a&lt;BR /&gt;way to run it on all the systems.&lt;BR /&gt;&lt;BR /&gt;Yes you are right. Thats what I intended but I thought there could have been a provision in NIS itself. If not then a script would have to be written ..something like whenever user logs in through NIS , look if his home directory exist if not create it. &lt;BR /&gt;Right?&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Thu, 30 Jul 2009 05:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469782#M37752</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2009-07-30T05:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: NIS Client Setup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469783#M37753</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] Right?&lt;BR /&gt;&lt;BR /&gt;But where will that script be, and who will&lt;BR /&gt;run it (and why)?&lt;BR /&gt;&lt;BR /&gt;NIS is not really magical.  If you were not&lt;BR /&gt;using NIS, and a user tried to log in without&lt;BR /&gt;having a home directory, what would happen?&lt;BR /&gt;Who (or which script) would create it?  Who&lt;BR /&gt;has the permission/rights to create it?&lt;BR /&gt;&lt;BR /&gt;I believe that the easy thing to do is to&lt;BR /&gt;use some kind of scheme like that&lt;BR /&gt;"/usr/users/xxx" scheme, and manually (as&lt;BR /&gt;user root) create any local home directories&lt;BR /&gt;for those who need them, where they need&lt;BR /&gt;them, before they need them.  Write a script,&lt;BR /&gt;if there are more than a few things to do.&lt;BR /&gt;&lt;BR /&gt;I don't claim that it's impossible to get the&lt;BR /&gt;job done automatically, but I don't see any&lt;BR /&gt;simple, easy way.</description>
      <pubDate>Thu, 30 Jul 2009 05:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nis-client-setup/m-p/4469783#M37753</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-30T05:40:39Z</dc:date>
    </item>
  </channel>
</rss>

