LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Mount foreign NFS shares (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mount-foreign-nfs-shares-310158/)

gypsy_rabbi 04-05-2005 08:48 PM

Mount foreign NFS shares
 
I want to bring my laptop in to school and mount my school home directory on it.

In what follows, my username on my laptop is gr, my username at school is gyspy_rabbi. Here's what I want to do on my laptop:
Code:

gr@laptop$ su
root@laptop# mount -o rw school:/export/0/users/gypsy_rabbi /mnt/gr
mount_nfs: can't access /export/0/users/gypsy_rabbi: Permission denied

I tried mounting it read-only as well, that didn't work either. I'm already DHCPed into the school network, but presumably I need some way to tell the school server who I am when I try to mount.

Is there some way to tell mount_nfs to do this?

Thanks,

GR

doctormetal 04-07-2005 12:45 PM

Re: Mount foreign NFS shares
 
Quote:

Originally posted by gypsy_rabbi
I want to bring my laptop in to school and mount my school home directory on it.

In what follows, my username on my laptop is gr, my username at school is gyspy_rabbi. Here's what I want to do on my laptop:
Code:

gr@laptop$ su
root@laptop# mount -o rw school:/export/0/users/gypsy_rabbi /mnt/gr
mount_nfs: can't access /export/0/users/gypsy_rabbi: Permission denied

I tried mounting it read-only as well, that didn't work either. I'm already DHCPed into the school network, but presumably I need some way to tell the school server who I am when I try to mount.

Is there some way to tell mount_nfs to do this?

Thanks,

GR

Access control on nfs is, if I recall correctly, based on IP addresses, so you won't be able to mount it.
The IP for your laptop must be added to the exports file on the nfs server, but I don't think the sysadmins on your school will do that.


All times are GMT -5. The time now is 07:38 PM.