Fedora 16 Will Number UIDs From 1000
dotancohen writes "Sharing users between Fedora and Debian-based distros just got a little easier. Beginning with Fedora 16, the Red-Hat based distro will number its human user UIDs starting from 1000, as opposed to the old 500. Though this change is intended to facilitate interoperability with other distros, it risks breaking backward compatibility with older Fedora releases including the newly released Fedora 15."
who thinks so what?
I've been a Fedora user since core 5, but I'm on a single use box. Can't you just simply update all the UIDs to add # so they all start at 1000, or is this more complex than I think?
Absolute power corrupts absolutely. indymedia
The UID:s are a minor issue for any well-seasoned *NIX admin.
But an evolution would be to convert to GUID:s, however that would make things really awkward in some cases and really break compatibility.
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
I suppose RHEL will make the switch in RHEL9. At least I know to prepare...
a "well-seasoned *NIX admin" isn't the target market for the "desktop" distributions, anyway.
Why should this break backward compatibility? It surely won't modify existing users' IDs when upgrading, only when creating new users, most commonly (for home users) meaning on new installations only. I can't think of any real reasons this change should break anything.
My other account has a 3-digit UID.
They should have started UID's at 9001 to make RedHat MEME compliant.
If all else fails, immortality can always be assured by spectacular error.
If you were to change a users UID, you would have to go through all the files in the system an update the UIDs as well. This is simple if all the drives are mounted at the time of the upgrade, and you want them all to be changed. However it becomes more of troublesome you have removable drives. Also, what if one of the mounted drives is a live backup; do you want to change the permissions on that or not. And you have to think about how you are going to handle restoring from a offsite backup with different UIDs. And if you have a networked file system, where all the computers on site share the same UIDs, it could become a real mess. Then there is the issue of config files that contain UIDs (like sudo users). It may be better to leave existing UIDs as they are, and just have new ones start at 1000.
I am a free man!
What "problem" are you expecting the "n00b" to have with the status quo exactly?
Never mind where the "user" accounts start. There should be standardized values for application ids and those should be part of the LSB.
A Pirate and a Puritan look the same on a balance sheet.
time_t is fixed for 64-bit systems. And for the 32-bit systems, well, we still have until 2038 to fix that problem.
I'm starting to think GNU is the problem with "GNU/Linux" these days.
Windows systems have all kinds of reserved rights for UIDs below 1000, so this is a good step as far as that's concerned. Is it a concession? I don't think so. It might be kind of a pain, but really how hard is the find command to search for and replace UIDs and GIDs on a system. Don't you do that sort of thing for fun anyway?
The only problem I see with writing a script that would simply recursively "chown" (change the ownership of) all files in descending uid-order, would be that unmounted filesystems, or remote filesystems, might complicate matters later.
Just be happy they didn't decide to go on multiples of pi.
Vote monkeys into Congress. They are cheaper and more trustworthy.
2037? Why rush? It won't be a problem until 19 Jan 2038.
I'm sure we can wait at least until the 15th or the 16th to start working on a fix.
time_t is fixed for 64-bit systems. And for the 32-bit systems, well, we still have until 2038 to migrate to 64-bit platforms. Or maybe 128-bit platforms.
FTFY.
Welcome to the Panopticon. Used to be a prison, now it's your home.
Since it only takes about 30 minutes to set up network wide single signon with LDAP and kerberos, even (especially?) at home, I'm not seeing this as having much impact. I use afs so I don't much care about the NFS/UID nightmare either.
I was recently thinking about this, and the last time I added a user to my LDAP and kerberos at home was when my daughter was born (figured she'd need it a couple years later, and in fact now she does). To add another user at home, not only would I have to look up again how the heck to do it, but I'd need to review all those "Now that you're expecting..." pregnancy books again.
This would have been a Big Deal in the mid 90s when I only had one box, but its not the mid 90s anymore...
"Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
So it will be start being fixed around 2037...
Anything newer than an Atom N2xx or AMD since I dunno, Athlon 64? will run a 64 bit OS and so probably all future processors too. Even SoC systems probably have more than 4GB of RAM by then...
Live today, because you never know what tomorrow brings
if you're trying to order them and do something like if(uid>=magic) you need a trip to unix re-education camp.
Yep. It's trying to implement number magic instead of having user groups like local_users, remote_users, daemons etc. to determine what to show where. Welcome to poor design 101, I remember trying to add a ftp server to my box, reusing user and file system permissions is fine but every user I added also appeared on my login screen. They should be in an ftp_users group, nowhere else. But instead we'll use a UID that we can't easily change and can't belong to multiple groups, sigh...
Live today, because you never know what tomorrow brings
So either migrate to 64-bit (or a higher bit count) or perform a hack.
But I suspect that most systems will be 64-bit by then - if we still use computers.
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
How is this news at all?
Fedora and RedHat have had the ability to explicitly set UIDs and GIDs for years.
I've been explicitly starting UIDs at 1000 doing that since like 1998. Its not a big fucking deal, tripwire or otherwise.
And any distro that has a problem with non-system UIDs starting at 500 should be aborted as being hopelessly broken.
If someone is passing you on the right, you are an asshole for driving in the wrong lane.
This change doesnt really do anything important. It means that when you add a user without specifiying a uid it will default to the next available uid after 999. The only issue this will pose in a real environment is if there is no centralized account administration and sys admins are not paying attention. I honestly use centrify express, which uses arbitary high uid scheme, based off active directory (unfortunately a required to use it), which is something that can be configured for ldap/kerb setups too.
Actually a .deb is an 'ar' archive which contains a text file and two compressed 'tar' files.
Dilbert RSS feed
a "well-seasoned *NIX admin" isn't the target market for the "desktop" distributions, anyway.
When one has to administer them, yes.
This solves nothing for the noob, since the system is assigning UIDs and unless you have just one user on each system, there is no guarantee that the UIDs for the same user will be the same between machines, unless you do them by hand. If you do them by hand, you can make them be whatever you want and this doesn't help.
This is still going to be a problem for me, since my UID for the last 20 years has been below 500 and I've always had to set mine on the desktops and servers I've installed, where the install script thinks it knows better than I do what my UID should be.
Actually an .rpm is a binary with metadata headers and a 'cpio' archive which contains the files.
When I grow up, I want to have Christopher Walken hair.
Why should I care what UIDs my applications run as?
Kid-proof tablet..
But I suspect that most systems will be 64-bit by then - if we still use computers.
Are most systems even PCs? Some embedded systems still use 8-bit microcontrollers for cost reasons over thirty years after the introduction of the MC68000 CPU, and I imagine that even thirty years into the future, there will still be countless embedded systems that use 32-bit ARM cores for cost reasons.
Depends if it's signed or unsigned 32-bit systems.
No, not all of them I think. We'll still have a need for smaller CPUs, and we'll still have a need for file systems with small overhead, and we'll still have archived files using older formats.
time_t is a signed int
I'm starting to think GNU is the problem with "GNU/Linux" these days.
Do you really need a entire 64-bit OS to redefine time_t ?
I think its already defined as a long (on 32 bit systems).
Why is this an issue? Unix admins ought to be able to handle this. Noobs shouldn't even care. Do they even know what a uid is? why?
True, but there are a LOT of systems out there that use "unsigned long" for "time_t", and some that use "unsigned long" without a typedef attached. They aren't Unix though.
Time is one of those complex issues that some people think is easy to solve. Ie, a solution that is great for file time stamps may be completely wrong for storing a patient's date of birth. Something that can handle patient ages may be inappropriate for archaeological or scientific use. You get something that's appropriate for archaeological use and it will be inappropriate for small file systems or task scheduling.
The numbering should start with 1025.
You tore me away from Oprah's final show for this? Not for long...
MY distro goes to ELEVEN hundred. :-)
Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
such progress...
uid's used to be encoded in 8bits, 0-255 and some software would break with 128-255 being wrongly converted into a negative integer...
now we start at 1000... I guess it took a while to access the impact of PIDs going beyond 30000...
uids on Debian derived systems start with 1000. If you build a system based on either RedHat or Debian standards right now, the uid numbers are going to be in a completely different range. This makes it even more annoying than usual to do things like create shared volumes where the file permissions are right, when mounted by two different servers running different distributions.
It's also a hassle on dual-boot systems, or ones where you converted from one distribution to the other, too. For example, last week I changed a RHEL server to run Debian. I had to go through 2TB of files and switch all of the UIDs over to the Debian standard for them, mapping user 500 -> 1000. Even though I could have just made the main account use the default RedHat range UID, that 500 number is technically reserved in Debian.
Small things, but definitely moving in the right direction as far as making Linux distributions less different from one another.
Sorry, even 256-bit is passé
http://en.wikipedia.org/wiki/Transmeta_Crusoe
Hmm, now I'm left wondering what UID scheme Fuduntu uses.
The same daemon might run on more than one machine and may need to be aware of more than just the local machine.
Generally, more determinism in a computer is a good thing.
A Pirate and a Puritan look the same on a balance sheet.
We'll be using primates!
Doesn't /etc/passwd do an acceptable job of this?
Kid-proof tablet..
I dual boot systems, and I like my sudo user on Ubuntu to be the same number as my sudo user on Fedora. Before it was a manual procedure to create dummy user at 500, then a sudo user at 1000. Wonderful decision
Leslie Satenstein Montreal Quebec Canada