[ILUG] NFS with NIS
Paul Kelly
kells_p at oceanfree.net
Wed Apr 14 17:46:22 IST 2004
Hi
Thanks for the tips on NIS. I changed my nsswitch.conf files and it works.
I'm trying to get NFS to work now. I'm using 'Linux NFS-HOWTO by Travis Barr
Revision
v3.1 2002-08-25'.
I'm trying to export the /home directories of my users, eg /home/tom to the
client.
As far as I can see they are not exporting.
In the server configuration in my /etc/exports file I have listed the following:
/home/tom 10.0.0.4(rw,async)
/home/keith 10.0.0.4(rw,async)
/home/john 10.0.0.4(rw,async)
/home 10.0.0.4(rw)
then I edited my /etc/host.deny file:
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
nstatd:ALL
then my /etc/host.allow
portmap: 10.0.0.0/255.255.255.0
lockd: 10.0.0.0/255.255.255.0
rquotad: 10.0.0.0/255.255.255.0
mountd: 10.0.0.0/255.255.255.0
statd: 10.0.0.0/255.255.255.0
I checked to make sure all the daemons were running with rpcinfo -p localhost
On the client I append to my /etc/fstab file thye following:
kells.example.com:/home/tom /studentshare/home nfs rw,bg,intr,hard 0 0
kells.example.com:/home/keith /studentshare/home nfs rw,bg,intr,hard 0 0
kells.example.com:/home/john /studentshare/home nfs rw,bg,intr,hard 0 0
Again I made sure that i ran rpcinfo -p localhost to see if the daemons were
running.
When I login as one of the users in init runlevel 3 I get the following message:
paul login: tom
Password:
Last login: Wed Apr 14 17:02:22 on vc/1
No directory /home/tom!
Logging in with home= "/".
-bash-2.05b$
Does anyone know how to fix this problem
Thanks
Kells
Jammy
*************************** ADVERTISEMENT ******************************
Get 100 Free Mapping Credits from IOL Mapping! All new site and new
features. Log on for your Free Credits! maps.IOL.ie
More information about the ILUG
mailing list