On Tue, 2005-02-22 at 21:29 +0800, Murray Trainer wrote: > Hi All, > > I have managed to automate most of my Evolution account setup using > gconftool-2 and sed. My problem at the moment is the generation of the > uid value in the account string shown below. > > uid="[EMAIL PROTECTED]" > > The first value appears to be the time the account was created in > seconds since 1/1/1970 and can be obtained using date +"%s". The last > value is obviously the hostname the account was created on (should it be > [EMAIL PROTECTED]). I was wondering what the other values in the string > are and how they are generated?
The uid just needs to be unique or a 1 in a trillion duplicate shot anyhow. The algorithm we use is iso time, pid, gid, ppid, a serial number for the the program's run and the hostname. -JP -- JP Rosevear <[EMAIL PROTECTED]> Novell, Inc. _______________________________________________ evolution maillist - [email protected] http://lists.ximian.com/mailman/listinfo/evolution
