Cameron Matheson wrote:
> 
> Hey
> 
> I got a problem that's probably kind of stupid, but I'm afraid I've RTFM
> way too many times, without results.  I have a network going with my
> friend with our two linux's (both running slink, we're waiting for the
> 2.2 CD in the mail).  Anyway, we want to do a little file-swappin' with
> NFS, but when he tries to mount my hard-drive (I'm kind of set up to be
> the server) it says:
>     mount: tux:\ failed, reason given by server: Permission denied
> 
> This is my /etc/hosts.allow file:
>     ALL : 192.168.1. : allow

when using NFS the file to be concerned with is /etc/exports and
/etc/hosts

what i do, say your friend's machine is ip 10.10.10.5 i would ad din
/etc/hosts

myfriend     10.10.10.5

then in  /etc/exports

/path_that_you_want_him_to_access myfriend(ro,no_root_squash)

i would reccomend keeping it read only (the ro flag) if you must do read
write replace ro with rw.  no_root_squash will allow him to mount it and
use it as  'root'. This is what i do, i only use NFS in a very trusted
enviornment. You will have to restart the NFS server for changes to
/etc/exports to take effect. (/etc/init.d/nfs-server restart)

nate

> 
> The NFS-HOWTO says I need to be able to telnet for this to work, I don't
> know how to use telnet, and the man-page was very un-enlightening, so I
> was hoping one of you might be able to help me.  If i was'nt specific
> enough, please just tell me what info you need, and I'll send it
> promptly.
> 
> Thanks,
> Cameron Matheson
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]

Reply via email to