Am Mittwoch, den 20.12.2006, 12:26 -0600 schrieb Mike McGrath:
On 12/20/06, Jeremy Katz <katzj(a)redhat.com> wrote:
> On Wed, 2006-12-20 at 11:57 -0600, Jeffrey C. Ollie wrote:
> > On Wed, 2006-12-20 at 11:20 -0600, Mike McGrath wrote:
> > > Whats the most accepted way to create a unique identifier (key) for a
> > > host? Collisions are fine if they are rare.
> >
> > What about the uuid package in extras?
> >
> > $ uuid
> > 7c098fe8-9053-11db-a2c8-001560c53ca8
>
> Why not /usr/bin/uuidgen from e2fsprogs? :-)
>
> Jeremy
>
Holy moly, thats amazing :-D I'll have to get into the workings and
make sure its not basing anything off of hostname or ip or something
sensitive that could be reverse engineered.
Why not using the kernel random proc interface for that ?
cat /proc/sys/kernel/random/uuid
Andreas
-Mike
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook