[OmniOS-discuss] NFS mounts seems as nobody on Centos6
Ian Kaufman
ikaufman at eng.ucsd.edu
Thu Jun 15 18:47:23 UTC 2017
Are you using NFSv4? Are all machines using the same idmap domain?
Ian
On Thu, Jun 15, 2017 at 11:18 AM, Andries Annema <an3s.annema at gmail.com>
wrote:
> Hi Özkan,
>
> The first thing that comes to mind is "no_root_squash" and, based on your
> example setting with options like "anon=root", I assume this option can be
> set as well on OmniOS with the "sharenfs" setting.
>
> Maybe these will help:
> https://serverfault.com/questions/364613/centos-6-
> ldap-nfs-file-ownership-is-stuck-on-nobody
> http://www.linuxtopia.org/online_books/rhel6/rhel_6_
> storage_admin/rhel_6_storage_s2-nfs-security-files.html
>
>
> Disclaimer: I am not an expert on NFS! Far from it. The above suggestion
> is based on some personal experience where I needed that "no_root_squash"
> option (although that was with some Linux distro's), and some Google-fu.
> With that said, I am not sure if it adds a security threat or something.
>
> Anyway, my two cents.
>
> Regards,
> Andries
>
>
> On 2017-06-14 17:44, Özkan Göksu wrote:
>
> Hello.
>
> I have a nfs share and zfs settings like= "sharenfs anon=root,rw=* "
> When i mount it from Centos, owner changes as nobody. (yes im root on
> Centos)
> But in omnios or ubuntu i see as root when i mount it.
>
> What is the cause of this problem?
>
>
>
>
> _______________________________________________
> OmniOS-discuss mailing listOmniOS-discuss at lists.omniti.comhttp://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
--
Ian Kaufman
Research Systems Administrator
UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170615/edfbbcc3/attachment.html>
More information about the OmniOS-discuss
mailing list