On Thu, 2007-10-04 at 17:37 +0200, Alexander Boström wrote:
tor 2007-10-04 klockan 08:36 -0400 skrev Matthew Miller:
>
> Often, yes. But I also like to have all user ids the same at home so
> usernames on removable media just match up. I don't have complicated enough
> home network (or enough users!) to justify LDAP or even NIS, and anyway I
> need disconnected operation. So matching up user ids is nice.
Yeah, I do that too.
Though perhaps it's time to start thinking about how to solve this
automatically. I personally feel that user ids should be local and that
anything that's not local to a host (removable media, network file
systems etc.) should use something else which then gets mapped to a
local uid when necessary. I'm not sure what that something would be,
though. Usernames, username@domain, mugshot accounts, user@uuid or
whatever.
For example, a USB drive with an ext3 file system could contain some
database that maps uids for that file system to usernames. Then when you
plug that into a machine, the uids are automatically remapped according
to this database to match what the host actually uses.
I agree, solving the real problem is the better way to go. But
unfortunately that's out of scope for user creation stuff I'm working
on.
Matt: How do you get around not being able to specify the uid in the
current firstboot user creation module? - Just curious.
Cheers, Ben