<?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: How do we find the domain name on a linux machine. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008051#M81222</link>
    <description>Pls do tel me the clear steps for setting up a NIS server</description>
    <pubDate>Mon, 28 May 2007 02:16:48 GMT</pubDate>
    <dc:creator>nav882</dc:creator>
    <dc:date>2007-05-28T02:16:48Z</dc:date>
    <item>
      <title>How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008049#M81220</link>
      <description>quick question.How do we find the domain name on a linux machine.</description>
      <pubDate>Mon, 28 May 2007 01:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008049#M81220</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-28T01:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008050#M81221</link>
      <description>If it's NIS domain - the command is `domainname`.</description>
      <pubDate>Mon, 28 May 2007 01:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008050#M81221</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-28T01:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008051#M81222</link>
      <description>Pls do tel me the clear steps for setting up a NIS server</description>
      <pubDate>Mon, 28 May 2007 02:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008051#M81222</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-28T02:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008052#M81223</link>
      <description>The link is basically a step by step guide:&lt;BR /&gt;&lt;A href="http://baheyeldin.com/linux/how-to-setup-nis-for-a-linux-network.html" target="_blank"&gt;http://baheyeldin.com/linux/how-to-setup-nis-for-a-linux-network.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's not mentioned in the link but should be done:&lt;BR /&gt;start the yppasswdd service on NIS master server:&lt;BR /&gt;service yppasswdd start&lt;BR /&gt;all required service should start by default:&lt;BR /&gt;chkconfig ypserv on&lt;BR /&gt;chkconfig yppasswdd on&lt;BR /&gt;chkconfig ypbind on # on the client&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You didn't assign points for answers you received so far. Please take the time and assign points.</description>
      <pubDate>Mon, 28 May 2007 03:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008052#M81223</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-28T03:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008053#M81224</link>
      <description>hi,as u tld,i went thru the link tht u had sent&lt;BR /&gt;.I installed the server software on my machine and also follwed the client procedure.But how to test it now without deleting the user.or how to know tht every thing is set up properly.whn i startup the events its gettin started.whn i log on to another machine via ssh and thru tht whn i try to log on to my machine by that users name and password i cant logon.So hw to abt it.&lt;BR /&gt;hey and abt the point s u had told i have assigned it in my lat 2 previous post.thanks</description>
      <pubDate>Tue, 29 May 2007 07:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008053#M81224</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-29T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008054#M81225</link>
      <description>On a machine that's a client of your NIS server run a command:&lt;BR /&gt;`ypcat passwd`&lt;BR /&gt;You should see a list of all users added to the server.&lt;BR /&gt;&lt;BR /&gt;A quick command to configure a station to be a NIS client:&lt;BR /&gt;authconfig --enablenis --nisdomain &lt;YOUR_DOMAIN_NAME&gt; --nisserver &lt;YOUR_NIS_SERVER&gt; --kickstart&lt;BR /&gt;&lt;BR /&gt;And thanks for the points.&lt;/YOUR_NIS_SERVER&gt;&lt;/YOUR_DOMAIN_NAME&gt;</description>
      <pubDate>Tue, 29 May 2007 08:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008054#M81225</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-29T08:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008055#M81226</link>
      <description>ya thnks again.The thing now is i have given the domain name as localhost.localdomain on the system i use(server) and hostname is localhost.localdomain on my machine as well as the client.These 2 files cums under /etc/sysconfig/network.&lt;BR /&gt;And i have edited thethe /etc/yp.conf and have entered the follwing in tht file&lt;BR /&gt;domain localhost.nisdomain server localhost.nisdomain&lt;BR /&gt;&lt;BR /&gt;but whn i do ypbind start on client it says it failed .so wht might be the problem and how to go about it.thanks</description>
      <pubDate>Wed, 30 May 2007 02:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008055#M81226</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T02:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008056#M81227</link>
      <description>sorry in the above posting i have used the domain name as localhost.nisdomain and hostname as localhost.localdomain</description>
      <pubDate>Wed, 30 May 2007 02:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008056#M81227</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T02:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008057#M81228</link>
      <description>Obviously choose a proper name.&lt;BR /&gt;localhost is resolved to 127.0.0.1, So the client tries to connect to itself instead of server.</description>
      <pubDate>Wed, 30 May 2007 03:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008057#M81228</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-30T03:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008058#M81229</link>
      <description>the hostname on client machine and server is localhost.nisdomain and domain name is localhost.nisdomain (on both client and server).&lt;BR /&gt;On server the yp.conf is edited and ypserver 127.0.0.1 is added.But on client i have added it has domain localhost.nisdomain server 12.0.0.13 which is server(my machine s)ip.and restarted all the services on the server.so whn i say ypbind start on client it says failed.I am not sure how to figure out the problem.Also ypiniy -m  i have added the localhost.nisdomain .I have give u the entire scenario.do help me out here</description>
      <pubDate>Wed, 30 May 2007 04:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008058#M81229</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T04:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008059#M81230</link>
      <description>OR&lt;BR /&gt;From the above scenario can u tel me wht shd be edited on yp.conf on client side assume tht hostname on client side is linux and domain is localhost.nis domain.     i.e,what shd be added to the following syntax in yp.conf file whn the server ip is 12.0.0.13&lt;BR /&gt;domain somedomain server somehost&lt;BR /&gt;&lt;BR /&gt;and on server side is the domainname is localhost.nisdomain and the host name is server</description>
      <pubDate>Wed, 30 May 2007 04:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008059#M81230</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T04:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008060#M81231</link>
      <description>Use the following command:&lt;BR /&gt;A quick command to configure a station to be a NIS client:&lt;BR /&gt;authconfig --enablenis --nisdomain &lt;YOUR_DOMAIN_NAME&gt; --nisserver &lt;YOUR_NIS_SERVER&gt; --kickstart&lt;BR /&gt;&lt;BR /&gt;It will edit the /etc/yp.conf file and restart the appropriate services.&lt;BR /&gt;&lt;BR /&gt;Make sure that the firewall service isn't blocking the rpc communication. Run `service iptables stop` (at least just for the test).&lt;BR /&gt;&lt;BR /&gt;The portmapper service must be running(service portmap start).&lt;BR /&gt;What's the output from `rpcinfo -p &lt;SERVERNAME&gt;`, executed on the client?&lt;/SERVERNAME&gt;&lt;/YOUR_NIS_SERVER&gt;&lt;/YOUR_DOMAIN_NAME&gt;</description>
      <pubDate>Wed, 30 May 2007 05:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008060#M81231</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-30T05:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008061#M81232</link>
      <description>sry to bug u,but u r my only go of now.&lt;BR /&gt;&lt;BR /&gt;what should we give in place of &lt;YOUR_NIS_SERVER&gt; in the following:&lt;BR /&gt;authconfig --enablenis --nisdomain &lt;YOUR_DOMAIN_NAME&gt; --nisserver &lt;YOUR_NIS_SERVER&gt; --kickstart&lt;BR /&gt;&lt;BR /&gt;mydomainname(server):localhost.nisdomain&lt;BR /&gt;hostname=nav.com&lt;BR /&gt;&lt;BR /&gt;on client domainname=localhost.nisdomain&lt;BR /&gt;HOSTNAME=shy.com&lt;BR /&gt;when i run `rpcinfo -p nav.com` it gives the following error:&lt;BR /&gt;rpcinfo: can't contact portmapper: RPC: Remote system error - Network is unreachable&lt;BR /&gt;&lt;BR /&gt;but whn i give the ip address it gives the following:whereas the ipgiven hereis a server ip ,(executed on the client)&lt;BR /&gt;&lt;BR /&gt;rpcinfo -p 12.0.0.13&lt;BR /&gt;   program vers proto   port&lt;BR /&gt;    100000    2   tcp    111  portmapper&lt;BR /&gt;    100000    2   udp    111  portmapper&lt;BR /&gt;    100024    1   udp  32768  status&lt;BR /&gt;    100024    1   tcp  32769  status&lt;BR /&gt;    100007    2   udp    837  ypbind&lt;BR /&gt;    100007    1   udp    837  ypbind&lt;BR /&gt;    100007    2   tcp    840  ypbind&lt;BR /&gt;    100007    1   tcp    840  ypbind&lt;BR /&gt;    100009    1   udp    742  yppasswdd&lt;BR /&gt;    100004    2   udp    757  ypserv&lt;BR /&gt;    100004    1   udp    757  ypserv&lt;BR /&gt;    100004    2   tcp    760  ypserv&lt;BR /&gt;    100004    1   tcp    760  ypserv&lt;BR /&gt; 600100069    1   udp    771  fypxfrd&lt;BR /&gt; 600100069    1   tcp    773  fypxfrd&lt;BR /&gt;&lt;BR /&gt;i think the problem is with yp.conf .I am not sure how to give the following in yp.conf provided i have given u all the info &lt;BR /&gt;server ip:12.0.0.13&lt;BR /&gt;client ip:12.0.0.10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/YOUR_NIS_SERVER&gt;&lt;/YOUR_DOMAIN_NAME&gt;&lt;/YOUR_NIS_SERVER&gt;</description>
      <pubDate>Wed, 30 May 2007 06:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008061#M81232</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T06:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008062#M81233</link>
      <description>Replace the &lt;YOUR_NIS_SERVER&gt; with 12.0.0.13&lt;BR /&gt;&lt;BR /&gt;It will replace the lines in /etc/yp.conf file. You don't need to edit it once you use authconfig.&lt;/YOUR_NIS_SERVER&gt;</description>
      <pubDate>Wed, 30 May 2007 07:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008062#M81233</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-30T07:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008063#M81234</link>
      <description>and what are all the options that we are suppose to choose in authconfig.</description>
      <pubDate>Wed, 30 May 2007 07:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008063#M81234</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-05-30T07:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008064#M81235</link>
      <description>This is the full command with all the required options:&lt;BR /&gt;authconfig --enablenis --nisdomain &lt;YOUR_DOMAIN_NAME&gt; --nisserver &lt;YOUR_NIS_SERVER&gt; --kickstart&lt;BR /&gt;&lt;BR /&gt;The command must be executed on a station that will act as the client. You can also make your NIS server a client of the NIS domain it serves.&lt;BR /&gt; &lt;BR /&gt;You only need to replace:&lt;BR /&gt;&lt;YOUR_DOMAIN_NAME&gt;  with your NIS domainname&lt;BR /&gt;and&lt;BR /&gt;&lt;YOUR_NIS_SERVER&gt; with the IP of your NIS server.That's it!&lt;BR /&gt;Let us know if it helps.&lt;BR /&gt;&lt;BR /&gt;Points assignment will be appreciated of course.&lt;/YOUR_NIS_SERVER&gt;&lt;/YOUR_DOMAIN_NAME&gt;&lt;/YOUR_NIS_SERVER&gt;&lt;/YOUR_DOMAIN_NAME&gt;</description>
      <pubDate>Wed, 30 May 2007 08:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008064#M81235</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-30T08:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008065#M81236</link>
      <description>thanks,i think its working.But the thing is i havent seen any users created on my system.So I am noe deleting the user from the othr system.I think i wil figure it out from here.</description>
      <pubDate>Mon, 04 Jun 2007 00:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008065#M81236</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-06-04T00:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008066#M81237</link>
      <description>After creating a user on the server, run the following command:&lt;BR /&gt;make -C /var/yp&lt;BR /&gt;&lt;BR /&gt;This will update the NIS maps and you will see the user account from the client...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 01:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008066#M81237</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-06-04T01:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008067#M81238</link>
      <description>k u meant tht i can c the other user acc i my home directory rit.I tried it But i still dnt c any user in my home directory.Dnt knw whts wrong now</description>
      <pubDate>Mon, 04 Jun 2007 01:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008067#M81238</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-06-04T01:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do we find the domain name on a linux machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008068#M81239</link>
      <description>sir can u lend me ur mail id or sumthing so tht i can  be in touch with u regularly</description>
      <pubDate>Mon, 04 Jun 2007 03:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-we-find-the-domain-name-on-a-linux-machine/m-p/4008068#M81239</guid>
      <dc:creator>nav882</dc:creator>
      <dc:date>2007-06-04T03:26:03Z</dc:date>
    </item>
  </channel>
</rss>

