Biggest gripe with 9.1 so far - changed userid numbers!
Can anyone tell my why SUSE changed the default numbers used for userids? Previously (7.3, 8.1 and 8.2, at least - these are the versions I've used before), userids started at 500 and incremented from there. This meant that, as long as I created my users on a new system in the right order, I could simply copy across the files from the old system and all the permissions would be correct. However, for some reason, SUSE changed this in 9.1 (or 9.0?) so that the userids now start at 1000. Not knowing how the other userids were organized, I was reluctant to change to the old 500 range and accepted this new range and chowned all the copied files so that they had the right permissions. Unfortunately, this has caused huge problems for my home LAN - I have a second SUSE box downstairs running 8.2 (not had time to upgrade it), which therefore of course has userids starting at 500. This means that the NFS shares I have set up so that the two boxes can share files are broken, because the userids on the two boxes are different :-( I know it's fairly easy to fix, but it's an annoying and apparently needless change. So, a question - will it cause any problems if I changed the userids on the 8.2 system to the 1000 range? There are no other custom users other than what the box creates itself. This is the easiest fix for me now. Thanks, John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Knossos: escape the ever-changing labyrinth before the Minotaur catches you!
On Monday 07 Jun 2004 12:01 pm, John Pettigrew wrote: <SNIP>
So, a question - will it cause any problems if I changed the userids on the 8.2 system to the 1000 range?
No problem at all, or indeed using the 500 range on 9.1. BUT: NFS allows you to map user and group IDS which may be easier for you? See man exports and man mount for details. HTH Dylan -- "I see your Schwartz is as big as mine" -Dark Helmet
In a previous message, Dylan
On Monday 07 Jun 2004 12:01 pm, John Pettigrew wrote: <SNIP>
So, a question - will it cause any problems if I changed the userids on the 8.2 system to the 1000 range?
No problem at all, or indeed using the 500 range on 9.1. BUT: NFS allows you to map user and group IDS which may be easier for you? See man exports and man mount for details.
Ah - nice :-) I didn't know NFS could do that, and it solves my problem nicely. Thanks John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Fields of Valour: 2 Norse clans battle on one of 3 different boards
On Monday 07 June 2004 13:01, John Pettigrew wrote:
However, for some reason, SUSE changed this in 9.1 (or 9.0?) so that the userids now start at 1000.
Yep, took quite a while to chown my home partition - 40gb 5400rpm with 512kb cache drive. Lots of small files (text documents mostly). Painfull... -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za
... took quite a while to chown my home partition - 40gb 5400rpm with 512kb cache drive. Lots of small files (text documents mostly). Painfull...
I did an install-from-scratch of 9.1, but did NOT format the partition on which I had /home from a previous SuSE version. I defined users for the new system with YaST2 (edit users and groups function). By clicking on the user entry panel's 'Details' button, I was presented with another panel, one of whose fields had the user-id defaulted as '1000'. I simply overtyped that (for the first user) with '500'. Now YaST2 went on to set up that 9.1 user with his numeric userid matching the file-ownership userid on the existing partition. [When defining the second user I typed in '501', etc.] mikus
As I recall, the new 2.6 kernel supports up to (IIRC) 4 billion users, instead of the previous 65,000, that we all found so limiting. ;-) I guess they just wanted to make room for more system IDs. John Pettigrew wrote:
Can anyone tell my why SUSE changed the default numbers used for userids? Previously (7.3, 8.1 and 8.2, at least - these are the versions I've used before), userids started at 500 and incremented from there. This meant that, as long as I created my users on a new system in the right order, I could simply copy across the files from the old system and all the permissions would be correct.
However, for some reason, SUSE changed this in 9.1 (or 9.0?) so that the userids now start at 1000. Not knowing how the other userids were organized, I was reluctant to change to the old 500 range and accepted this new range and chowned all the copied files so that they had the right permissions. Unfortunately, this has caused huge problems for my home LAN - I have a second SUSE box downstairs running 8.2 (not had time to upgrade it), which therefore of course has userids starting at 500. This means that the NFS shares I have set up so that the two boxes can share files are broken, because the userids on the two boxes are different :-(
I know it's fairly easy to fix, but it's an annoying and apparently needless change.
So, a question - will it cause any problems if I changed the userids on the 8.2 system to the 1000 range? There are no other custom users other than what the box creates itself. This is the easiest fix for me now.
Thanks,
John
On Monday 07 June 2004 03:01, John Pettigrew wrote:
However, for some reason, SUSE changed this in 9.1 (or 9.0?) so that the userids now start at 1000. Not knowing how the other userids were organized, I was reluctant to change to the old 500 range and accepted this new range and chowned all the copied files so that they had the right permissions.
I did an inplace upgrade from 8.2 to 9.1 and it was happy to preserve userids. No problems resulted. I'll keep in mind this glitch when I do clean installs with some partitions preserved. You could have changed this in yast before assigning users. If 500 was not already used, then it would have worked the way you wanted by carefully assigning new users in the proper order and checking the IDs before commiting each add. -- _____________________________________ John Andersen
participants (6)
-
Dylan
-
Hans du Plooy
-
James Knott
-
John Andersen
-
John Pettigrew
-
mikus@bga.com