- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Client root access problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 09:06 AM
тАО12-05-2008 09:06 AM
NFS Client root access problem
I am installing a serviceguard cluster to be used with SAP in HPUX 11iv3.
One requeriment for SAP is to create an NFS Server Package and use the automount client
on each cluster node to share some directories.
My problem is that the NFS Package share the File systems, each client node can automount these file systems, the nodes that don't own the package have root access permissions.
But the node that owns the package doesn't have root access permissions and writes files
with the user nobody. In the configuration i
specified root access permissions for all nodes in the cluster.
When i moved the package to another node, always is the same situation with the node that owns the package.
Best Regards;
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 09:45 AM
тАО12-05-2008 09:45 AM
Re: NFS Client root access problem
#exportfs -i -o root=client1:client2 /fs/name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 09:58 AM
тАО12-05-2008 09:58 AM
Re: NFS Client root access problem
As mentioned above exporting with root=client option should work ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 11:00 AM
тАО12-05-2008 11:00 AM
Re: NFS Client root access problem
In the serviceguard package I did the export with the following option:
"-o root=node1,root=node2" file_system
It works fine with the node that doesn't own the NFS package, but with the node that owns the package it didn't get the root privileges.
Regards,
Alexander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 06:55 PM
тАО12-05-2008 06:55 PM
Re: NFS Client root access problem
OPTIONS -root=node1,node2,nfs_reloc ....
where nfs_reloc is the name of the NFS package.
If you have a db package and a ci package, you must add both.
Is sane to add all the IP addresse, or names the machings may have.
Hope ths help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 07:42 PM
тАО12-05-2008 07:42 PM
Re: NFS Client root access problem
That syntax is incorrect for a root= list. The syntax is:
-o root=node1:node2:node3
Also with 11i v3 the systems in the root= or rw= lists need to be fully-qualified names.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2008 11:48 AM
тАО12-07-2008 11:48 AM
Re: NFS Client root access problem
By adding the "anon=0" option you're effectively allowing the root user on *EVERY* NFS client that mounts this filesystem to have root privileges on the shared filesystem. Is this really what you want? Or are you trying to limit the specific NFS client systems that are allowed to behave as root in that filesystem?
If you want/need to restrict root access to a small group of systems then the "root=" option is the way to do it. If you're having problems getting the syntax right let me know and I'll help. But opening up the filesystem to all root users can be potentially dangerous - especially if there is not an accompanying rw= list.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2008 02:56 PM
тАО12-07-2008 02:56 PM
Re: NFS Client root access problem
Isn't it worse than that? I.e. every unknown user is root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2008 11:24 PM
тАО12-07-2008 11:24 PM
Re: NFS Client root access problem
> Isn't it worse than that? I.e. every unknown user is root.
Ok, but what's an "unknown" user? My understanding is an unknown user is effectively someone with a UID that is outside the known range. I wouldn't expect that a user that is not configured on the server will get root access.
In other words, if you have a user with a UID of 2000 on an NFS client but this user is not configured on the server (i.e. no entry in /etc/passwd, NIS, NIS+, LDAP, or whatever name service used for passwords) any file created by this user will show up with UID=2000. Just because the server doesn't have a mapping for user 2000=joe doesn't mean user 2000 should get root access.
It's been my experience (but I could be wrong) that only root users - or possibly some PC-NFS users, are mapped to the anon value.
If your experience is different please let me know.
Thanks,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 05:06 PM
тАО12-08-2008 05:06 PM
Re: NFS Client root access problem
Yes, that's the question.
>if you have a user with a UID of 2000 on an NFS client but this user is not configured on the server, any file created by this user will show up with UID=2000.
Yes, that's what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2008 07:03 PM
тАО12-08-2008 07:03 PM
Re: NFS Client root access problem
To my knowledge, the only users who take on the anonymous value are root users and PC-NFS users that are unauthenticated.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 08:50 AM
тАО12-12-2008 08:50 AM
Re: NFS Client root access problem
Considering what you mentioned:
-It is possible that i will have some security risk if I use the anon=0 option?
I am going to recheck the sintax of my configuration because my first consideration was to use the root=node option to give access to the NFS clients.
Best Regards;
Alexander.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2008 08:56 AM
тАО12-12-2008 08:56 AM
Re: NFS Client root access problem
If security is one of your concerns then sharing filesystems with "anon=0" is one of the worst things you can do. That syntax allows the root user on every NFS client to access files on the NFS filesystem as if they were the root user on the NFS server. That's a very dangerous thing to allow from a security standpoint.
Creating an rw= list and a root= list is much safer as that determines which NFS clients are allowed read/write access to the filesystem and which clients are allowed root access.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
