You are not logged in.

#1 2013-03-13 06:47:03

srf21c
Member
Registered: 2012-04-16
Posts: 24

Standardizing group GID across heterogeneous systems

While working with NFS mounts lately I've had some issues with GID conflicts. So I'm in the process of trying to standardize UID and GID numbers across all the unixlike systems in a network. This environment is a mix of FreeBSD, OpenBSD, Arch GNU/Linux and Macs.

I've seen the proposed list of standard uid and gid numbers in the Arch wiki. I'm trying to decide which groups to change in order to create the least amount of havoc. For example, right now the generic users group in Arch has a gid of 100. On OpenBSD that gid is reserved for _ldapd, the OpenBSD ldap daemon.

Will I create more havoc by trying to change the major distro default linux users gid of 100 to something else? I want to use the OpenBSD ldap daemon too, so will changing the gid of that make life difficult in that respect?

If someone has experience with standardizing uids and gids across a network of heterogeneous unixy systems, please weigh in.

Last edited by srf21c (2014-05-17 07:20:37)

Offline

#2 2013-03-15 12:25:08

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Standardizing group GID across heterogeneous systems

What about creating a new group on all systems say... 7777 and then add all users on all systems to that group. Then whatever files you put in the nfs mount change the gid to 7777 and set permissions to like 664 and/or 775.

That would be the easy way to go, but may not work depending on what you want to put in a universal nfs mount.

Last edited by hunterthomson (2013-03-15 12:28:23)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#3 2013-03-16 02:34:46

srf21c
Member
Registered: 2012-04-16
Posts: 24

Re: Standardizing group GID across heterogeneous systems

That's a good idea, and probably the one that will end up being the least conflict prone.

What exactly do you mean by "universal nfs mount"? I'm not familiar with the term and I can't find any reference online to it.

Offline

#4 2013-03-16 03:42:54

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Standardizing group GID across heterogeneous systems

srf21c wrote:

That's a good idea, and probably the one that will end up being the least conflict prone.

What exactly do you mean by "universal nfs mount"? I'm not familiar with the term and I can't find any reference online to it.

Ya, and I know at least on Linux you can use a mount option to set the default GID and permissions for newly created files and directories.

gid=7777,umask=003

or this to only allow the user and group members to be able to even read the files.
gid=7777,umask=007

Owe well, I just thought that term seemed to fit.

Last edited by hunterthomson (2013-03-16 03:45:39)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB