[Wine] Generating a properly configured Wine installation

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Thu Apr 10 12:49:50 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Kegel wrote:
| On Thu, Apr 10, 2008 at 10:37 AM, Benjamin M. Schwartz
| <bmschwar at fas.harvard.edu> 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-----



More information about the wine-users mailing list