I have serveral Ubuntu server running in virtual machines on my host. Everything works fine but there is a problem. I use NFS to share a common directory between the VMs. And as the machines user IDs are different so even when user and password are the same, they cannot write data or use data thats from another VM. Changing user IDs did not work properly, I rolled that back.

So, someone mentioned Kerberos to manage users. This seems a bit too much effort. Is there a better, lightweight solution? Or even another way to share a common disk space? How is this done usually?

  • ro55mo@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    The laziest way to fix your issue is to chmod the shared directory to 777.

    I would only suggest this if this is on a LAN and you are the only person using the different machines.