Mailinglist Archive: opensuse-security (64 mails)

< Previous Next >
Re: [suse-security] nessus output -- some problems...
  • From: "Chris L. Mason" <cmason@xxxxxxxxxxxx>
  • Date: Thu, 29 Jul 1999 22:03:31 -0400
  • Message-id: <19990729220331.A28452@xxxxxxxxxxxxxxxxxxxx>

[...]
> > In the beginning of ~/.xinitrc:
> > xauth add $DISPLAY . `ps auxw|md5sum|cut "-d " -f1`
>
> Ah, the real workhorse. This is the important part... ps auxw to get
> some long more or less random output, md5sum and cut to format it nicely.
> Worked perfectly. Leave this intact.
>
[...]

Or, if you're really paranoid:

xauth add $DISPLAY . \
`dd if=/dev/random bs=256k count=1 2>/dev/null|md5sum|cut "-d " -f1`

:)


Chris


< Previous Next >