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."
No wonder it's not the year of the Linux desktop yet.
Sheesh. No shiny. Requires mathematics to understand.
Lame.
Faster! Faster! Faster would be better!
Wake me when we fix something really important.
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
Now if they could just agree on .deb or .rpm. They're both just .tar files with slightly different structures anyhow...
I suppose RHEL will make the switch in RHEL9. At least I know to prepare...
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.
Geez, how does a totally trivial linux factoid makes it to the front page of /.? Not even OSNews finds it worthwhile to do a post on this.
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.
how does this help interoperability? are there a bunch of lame
scripts that do different things based on the value of uid? that
would be pretty insane, and not supported. uids have always
been a set with 1 operator: equality. you can test if uid==0,
but if you're trying to order them and do something like
if(uid>=magic) you need a trip to unix re-education camp.
I am a free man!
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.
its.
i can't believe how much this blog got purchased for.. and they still can't spell.
Why is this a story? Who cares what number you start numbering your UIDs from? It shouldn't actually matter to ANYONE what those numbers are, so this only matters at the point where you create a new user.
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
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.
echo -n "useraccount" | sum = uid
These same people who can parse 12 mile long regexes in their heads can't seem to grasp that it's means IT IS. Seriously, the apostrophe is like the smallest of the keyboard symbols. Is it that hard to understand?
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.
See SYS_UID_MAX, SYS_UID_MIN, UID_MAX, and UID_MIN.
You want it the old way, set them the old way. You want them the new way on older Fedora/RHEL, you can do that, too!
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?
Fedora now also enjoys Solaris compatibility, like Debian-based Linuxes have for quite some time...
The numbering should start with 1025.
You tore me away from Oprah's final show for this? Not for long...
fedora sucks now it well suck double
http://agender.sourceforge.net/ get a free schedule tool
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...
Hmm, now I'm left wondering what UID scheme Fuduntu uses.
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
The issue will be related to users whose uid is between 500 and 999, whether you use a remote directory (LDAP, NIS or WINDBIND) or not.
By default, these users won't be able to login (read less_than_1000, for the future settings)
http://directory.fedoraproject.org/wiki/Howto:PAM#Red_Hat_clients_with_UID.27s_less_than_500
It's not a huge issue, but it's really less annoying to change these settings (so to revert them back) instead of changing the UID.
By experience, they also won't appear by default when you'll use system-config-users.
I know quite well this problem since I had lot of users with UID 500 before I migrate everything to RedHat/Fedora.