-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Kegel wrote: | On Thu, Apr 10, 2008 at 10:37 AM, Benjamin M. Schwartz | <bmschwar@xxxxxxxxxxxxxxx> wrote: |> My package of Wine will be run as many different users, and it is |> important that it work identically regardless of the UNIX uid of the user |> running it. I therefore used regedit to change USERPROFILE and all the |> other related registry keys to point to a profile |> (C:\windows\profiles\olpc) that is not consistent with the current UNIX |> login. | | Aha. Why do you have to do this, exactly? The Rainbow/Bitfrost security system for OLPC works by generating a new UNIX uid for each application, and running each application under its own uid. Thus, prior to running this application for the first time, I do not know what the username will be. Since I'm trying to customize things ahead of time, I need to do the customizations in a way that does not depend on the unix uid. The only way I knew to do this is to fix the Windows username ahead of time. Also, the username _is_ the uid, a random number like "10015", which I was hoping to keep out of the UI. | Are you trying to | set up a read-only profile? Not exactly. I am trying to create a base profile, which will then be copied and modified by the user. | Have you tried copying settings | into the user's normal profiles instead? There is no pre-existing user profile. However, I could run wineprefixcreate, and then modify the resulting profile. I do not know how to do this, but perhaps by reading your scripts I can figure it out. This method still leaves the user with a Windows login of "10015", but that's better than having unreadable small fonts. - --Ben -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH/lM+UJT6e6HFtqQRAsPkAJ9CoeGjCt/eyKPI0Lk053KxZ+xS9ACdGqWl a3ejrzwGgm4gDgaWNwS+CaQ= =yiJp -----END PGP SIGNATURE-----