Saturday, December 15, 2007

NIS AUTOMOUNT

1. server: /etc/exports, define exportable directories

/users *(rw,no_root_squash,no_all_squash,sync)
/apps *(ro,sync)

2. server: service nfs restart

3. server: /var/yp/Makefile, edit to include auto.* in make all
(YP server is to be installed first)

4. server: /etc/auto.master :: <--- REMEMBER NO /etc in front of auto.*
/users auto.home --ghost
/apps auto.local --ghost

5. server: /etc/auto.home ::
* -rw dcssrv4:/users/&

6. server: /etc/auto.local ::
oracle -ro dcssrv4:/apps/oracle
gf_admin -ro dcssrv4:/apps/gf_admin

7. server: cd /var/yp;make

8. server: service ypserv restart

9. client: edit /etc/nsswitch.conf :: automount nis files

10. client /etc/sysconfig/network :: put NISDOMAIN=xxxxxxx

11. client /etc/yp.conf :: put domain NISDOMAIN server XXXX

12. client: service ypbind restart & service autofs restart

look at http://penguin.triumf.ca/recipes/nis-auto/index.html
(it has an error, check the instrucion #4 above)

2 comments:

Anonymous said...

hajali.blogspot.com is very informative. The article is very professionally written. I enjoy reading hajali.blogspot.com every day.
pay day loan
pay day loans

Mohamed Ali said...

$$$ URGENT LOAN OFFER WITH LOW INTEREST RATE APPLY NOW $$$
Do you need Loan to pay off your debt and start a new life? You have come to the right place were you can get FUNDED at a very low interest rate. Interested people/company should please contact us via email for more details.

Full name:
Date of birth (yyyy-mm-dd):
Gender:
Marital status:
Amount Needed:
Duration:
Address:
City:
State/province:
Zip/postal code:
Country:
Phone number:
Monthly Income:
Occupation:

E-mail: shadiraaliuloancompany1@gmail.com