NIS Server

2 replies [Last post]
dipmit
User offline. Last seen 19 weeks 4 days ago. Offline
Joined: 02/04/2010

Hi to all,

I want to configure the NIS server With the /rhome/stationX/nisuserX where X is any number.

And it will automount by the autofs in the client as /rhome/nisuserX.

Thanks,

Dharmesh

dsprajapati
User offline. Last seen 40 years 36 weeks ago. Offline
Joined: 11/05/2009

Hi Dharmesh,

First of all you have set NIS authentication by runnning command as below,

authconfig-tui , then select NIS Server by giving space to select it
and then Click on NEXT Botton

Give NIS Domain Name and Server IP address on which your NIS  Server is Running. and ok


then you have to configure your Autofs which automatically mount NIS user's Home Directory.

open /etc/auto.master
then write like below after /misc line
/rhome   /etc/auto.misc 
save and exit


Now Open /etc/auto.misc
go to last line and Enter below line

*       -rw,soft,intr       zz.zz.zz.zz:/rhome/stationX/nisuserX

save and exit

server autofs restart

then try
su - nisuserX

that'll automatically Mount NIS server's HOME Directory
where zz.zz.zz.zz = you NIS Server IP address

 
Let me know if you have got it or not

With Regards
Dharmesh Prajapati
Software Developer

(RHCE)
Elitecore Technology



On Fri, Feb 5, 2010 at 11:40 AM, VGLUG Site <admin@vglug.info> wrote:

Hi to all,



I want to configure the NIS server With the /rhome/stationX/nisuserX where X

is any number.



And it will automount by the autofs in the client as /rhome/nisuserX.



Thanks,



Dharmesh







--

Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.

You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".

To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com

To post to this group, send email to VGLUG@googlegroups.com

For more options, visit this group at http://groups.google.com/group/VGLUG




--
With Regards
Dharmesh

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

tejasbarot
User offline. Last seen 1 week 3 days ago. Offline
Joined: 06/24/2008

Hello,


On Fri, Feb 5, 2010 at 11:40 AM, VGLUG Site <admin@vglug.info> wrote:

Hi to all,



I want to configure the NIS server With the /rhome/stationX/nisuserX where X

is any number.


Here is Very nice steps available for NIS. Change Directory names and some other settings as per you requirements.



And it will automount by the autofs in the client as /rhome/nisuserX.



It will mount automatically, but for that you have to make entry in /etc/auto.master and /etc/auto.misc

As per you requirement, Entry will look like this


##################/etc/auto.master Entry############################
/rhome

##################/etc/auto.misc Entry############################
*                     -rw,soft,intr                              <server-address>:/rhome/&  ( Entry for Read/Write)

*                     -ro,soft,intr                             
<server-address>:/rhome/&  ( Entry for Read Only)
 

Hope this works for you.



Thanks,



Dharmesh







--

Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.

You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".

To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com

To post to this group, send email to VGLUG@googlegroups.com

For more options, visit this group at http://groups.google.com/group/VGLUG




--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://blog.ask4itsolutions.com
                 
"Mind is never a problem; mindset is." - Shri Narendra Modi

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG




--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://barot.wordpress.com
"Computer are like air conditioners: They stop working when you

web counter