Sponsored Content
Operating Systems Solaris Problem exporting NFS filesysytem with root permissions to Linux Post 302940058 by MadeInGermany on Wednesday 1st of April 2015 04:47:48 AM
Old 04-01-2015
Thanks for sharing your finding.
You can also give a hostname that is displayed with
Code:
getent hosts 192.168.1.101

You are right, it is a bit strange that the mount works. The request is routed to the NFS server's external address and returned from the other address. Maybe this is checked/rejected by the NFS client.
Note that usually the mount request uses UDP for rpcbind and mount RPC, while the NFS RPC uses tcp. But there shouldn't be a difference in the routing (but there could be one in a fire wall).
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

nfs permissions

Hi all can someone tell me how to set the follwoing permissions in the /etc/exports file to share a directory. I need 2 users eg a+b to be able to read and write to the directory but everyone else to just read. we have NIS in our environment and I though I could use netgroups do do this. My... (2 Replies)
Discussion started by: silvaman
2 Replies

2. HP-UX

nfs export permissions

Hello, If I have an export like: /usr/temp -rw=ram:alligator means that /usr/temp has "rw" permissions to ram and alligator machines and has "ro" to everyone else? (1 Reply)
Discussion started by: psimoes79
1 Replies

3. Solaris

NFS mount. Nobody Nobody permissions.

Hi, I have an NFS mount on a Solaris 10 server with file permissions nobody:nobody. This is an NFS export from an Netapp filer. Export attributes from the filer are below. Anonymous User ID=0 Read-Write Access (All Hosts) Security (sys) I have other NFS exports set up with the same... (7 Replies)
Discussion started by: gwhelan
7 Replies

4. Solaris

Permissions on NFS mount

I am mounting a directory remotely but I am not able to write to the NFS mount. I am using the following commands to share and mount the file system: On source server in DFStab file share -F nfs -o rw -d "IWStore" /iw-store On the client I am mounting like this: mount -F nfs -o rw... (4 Replies)
Discussion started by: wstclair
4 Replies

5. AIX

NFS mounts and user permissions

We need to allow ordinary users to preform NFS mounts on a AIX server without giving them root access to the server. Is there a way to give an ordinary users root access on a tem basis or a script to allow them to preform NFS mounts? (4 Replies)
Discussion started by: daveisme
4 Replies

6. Solaris

NFS Mount permissions weird

Hi all. I have a nas mounted on a solaris box as /u04. Currently I am getting a permission denied error from my HP DataProtector backup and when I ls -l the actual directory I get: drwxrwxrwt 5 65535 nogroup 4096 Nov 9 13:46 u04 I also have SAN mounted as /u06 and it is... (1 Reply)
Discussion started by: jamie_collins
1 Replies

7. Shell Programming and Scripting

Issue with changing the permissions on an nfs mount

Hi All, I have an nfs share which I mounted to my linux machine as below. df -k output TSDapp-na-02:/vol/tsd_app_1/rn_jira 47185920 11663072 35522848 25% /opt/rn_jira I have no entry for this in my /etc/fstab. I did it by the following way. mount -t nfs... (2 Replies)
Discussion started by: Tuxidow
2 Replies

8. UNIX for Advanced & Expert Users

[Solved] nfs share permissions with java

Please bare with me while I try to explain this weird problem. We are exporting a filesystem from an aix box to two linux boxes. On the linux box a java-weblogic application hits the share. For explanation benefits I'll describe the users thus. aix filesystem owned by userA in groupA on... (2 Replies)
Discussion started by: fwellers
2 Replies

9. UNIX for Dummies Questions & Answers

Permissions for NFS share

Hi, I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client. Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Discussion started by: Rossdba
0 Replies
mountd(8)						      System Manager's Manual							 mountd(8)

NAME
mountd - Services remote NFS compatible mount requests SYNOPSIS
mountd [-d] [-i] [-n] [-s] [exportsfile] FLAGS
Verifies the Internet addresses of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function and then translated back into the same Internet address by the gethostbyname() function, the request is rejected. This option requires the BIND service for Internet address resolution. It offers the highest level of security, especially when combined with the -i option. Turns on Internet address verification and domain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain. Allows non-root mount requests to be served. This should only be specified if there are clients such as PC's that require it. ULTRIX BSD is allowed non-root mount requests by default. Use the -n flag to allow non-root mount requests. Verifies the Internet address of hosts that make mount and unmount requests. If a client's address cannot be translated into a host name by the gethostbyaddr() function, the request is rejected. If you are running the BIND service, the BIND server is used to translate the address. If you are not, the /etc/hosts file is used. If the -i option is not used and a client's address cannot be translated, the address is converted to a string of the form xx.xx.xx.xx. This allows access to exported file systems that do not specify a list of allowed hostnames. The -i option is automatically enabled when either the -d or the -s option is specified. Turns on Internet address verification and subdomain checking. If you are running the BIND service, mountd verifies that a host making a mount or unmount request is in the server's domain or subdomain. DESCRIPTION
The mountd daemon is the server for NFS protocol mount requests from clients. The mountd daemon responds to requests from remote computer systems to mount directories. When it receives a SIGHUP signal, mountd rereads the exports file. If you are on an NFS client and want to have changes to the export options on existing NFS client mounts take effect immediately, issue the showmount -e command and specify the name of the host that is exporting the directory or file system (where the exports file is located). This ensures that NFS is aware of the export list and options. The optional exportsfile argument specifies an alternate location for the exports file. /etc/exports is the default. Note, NFS Version 2 can export partitions that are greater than 2 gigabytes. However, they appear as 2 gigabyte partitions when viewed from NFS clients. FILES
Specifies the command path Contains a list of directories that can be exported Contains a table of local file systems mounted by remote NFS clients Contains errors logged by the mountd daemon RELATED INFORMATION
Commands: nfsstat(8), nfsd(8), portmap(8), showmount(8) Files: exports(4), mountdtab(4) delim off mountd(8)
All times are GMT -4. The time now is 06:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy