[SLE] NFS permissions question
Hi, Having 4 computers on my small network, it becomes tedious to use ftp to move files around. I would like to start using nfs. I can export directories on one machine and mount them on another, but what I would like to do is limit who can do what. For example, I am exporting my home directory: squid:/home/avi seahorse(rw,root_squash) I have two problems with this export: 1. Unless I specify the option 'user' in fstab, mount will not allow me to mount this share as a regular user. 2. If I set the fstab options to 'user', anyone can mount this share to the default mount point. Is there a way to get around these problems? Thanks, Avi -- Avi Schwartz Get a Life avi@CFFtechnologies.com Get Linux -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi Avi! On Fri, 21 Apr 2000, Avi Schwartz wrote:
Hi,
Having 4 computers on my small network, it becomes tedious to use ftp to move files around. I would like to start using nfs. I can export directories on one machine and mount them on another, but what I would like to do is limit who can do what. For example, I am exporting my home directory: squid:/home/avi seahorse(rw,root_squash)
I have two problems with this export:
1. Unless I specify the option 'user' in fstab, mount will not allow me to mount this share as a regular user. 2. If I set the fstab options to 'user', anyone can mount this share to the default mount point.
Is there a way to get around these problems?
I had the same fstab settings. I mount /home. All users can mount it but
they cannot access the user directories unless it's thiers. I'm not sure
if there is a settin for this. It worked like that for me out of the box.
I remember seeing some option in the config file (can't for the life of me
remember what it's called right now). It was "translate users" or something
like that. I had it enabled.
--
B. L. Jilek
Not using NFS myself, but I guess you could create a mount group, and change the group ownership of mount so that it belonged to that group. Then you would just have to add authorized users to the mount group. I know that this will work for block devices. I am not sure about NFS. Victor On Fri, 21 Apr 2000, Avi Schwartz wrote:
Hi,
Having 4 computers on my small network, it becomes tedious to use ftp to move files around. I would like to start using nfs. I can export directories on one machine and mount them on another, but what I would like to do is limit who can do what. For example, I am exporting my home directory: squid:/home/avi seahorse(rw,root_squash)
I have two problems with this export:
1. Unless I specify the option 'user' in fstab, mount will not allow me to mount this share as a regular user. 2. If I set the fstab options to 'user', anyone can mount this share to the default mount point.
Is there a way to get around these problems?
Thanks, Avi
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Avi Schwartz wrote:
Hi,
Having 4 computers on my small network, it becomes tedious to use ftp to move files around. I would like to start using nfs. I can export directories on one machine and mount them on another, but what I would like to do is limit who can do what. For example, I am exporting my home directory: squid:/home/avi seahorse(rw,root_squash)
I have two problems with this export:
1. Unless I specify the option 'user' in fstab, mount will not allow me to mount this share as a regular user. 2. If I set the fstab options to 'user', anyone can mount this share to the default mount point.
Is there a way to get around these problems?
I don't know of a way around the mount problem. My NFS partitions are usually not user-mountable. My understanding is that they are or aren't mountable by users in general, and there's no way to modify that. If you want to give selective permissions to read and write files, set the group permissions on the NFS server, and add that GID on the clients who will be using it. (For example, on my /archive mount I chowned the dir on the server to root.users, so just any user can write to it. If you want to be more selective, use (or create) a different group on both the server and clients, and add users to that group on the clients. -- Martin Jackson: mhjacks@nwa.quik.com ========================================= This Message Brought to You by SuSE Linux -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
avi@CFFtechnologies.com
-
bljilek@bigfoot.com
-
mhjacks@nwa.quik.com
-
vcardona@home.com