NIS Server
Hello,
Hi to all,
I want to configure the NIS server With the /rhome/stationX/nisuserX where X
is any number.
To Configure NIS follow this thread of VGLUG :-
http://groups.google.co.in/group/vglug/browse_thread/thread/780e7e75dbbfcdf/c80d2897b90df220?lnk=gst&q=NIS+Kalpesh#c80d2897b90df220
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
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
--
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