![]() The NFS server is CentOS 6 Ideally I would just change the Solaris boxes to match the Linux UID/GID but that cannot be done in this case. With that being said, it is critical to understand them before achieving a Linux certification. Linux servers: uid270 (oracle) gid110 (dba) The Linux clients are both CentOS 7. So I would go with the flow: Use whatever is prescribed in your organization (if there is such a rule) or whatever is default on your distro of choice (to minimize problems with applications that assume a certain system based on the distro used). The uid (user identifier) and gid (group identifier) are important fundamental concepts for Linux system administration. (NFS permissions or the way they map Unix permissions on SMB ACL's.) In some organizations it may be there is a preference for the shared GID, because of the way the shared network resources are setup. And you can always get things to work by some creative use of chown and chgrp. There may be some software that assumes one or the other but for each case of software that prefers GID=UID you can find another piece of software that wants it the other way around. Gilles SO- stop being evil at 23:57 ps has OUTPUT MODIFIER, to see numeric UID, just pass n to ps, e.g. (750 is standard for GID=UID, 700 is preferred if multiple users share GID.) If you use -o user,group instead of -o uid,gid, it works on all POSIX systems but displays names instead of numeric values. However, the When restoring a UID or GID, if the pax If the user or group name is not. It doesn't really seem to matter as long as you use the UMASK appropriately. RACF allows for UIDs and GIDs within the range of 0-2,147,483,647. Some other Unix systems still prefer the other methodology. Most major Linux distro's these days seem to default to the UID=GID method. I had the same question a few years ago an did some research into the matter.Īs far as I have been able to determine there is no real major benefit to either method. 1 release and compatible versions, the limit on UID and GID values has been raised to the maximum value of a signed integer, or 2147483647. This number allows the system to identify the user. It is mainly a matter of personal preference. A UID is a user ID, a number assigned by Linux to each user on the system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |