[virt-tools-list] virt-what and security?

Richard W.M. Jones rjones at redhat.com
Wed Jul 6 09:15:10 UTC 2011


On Tue, Jul 05, 2011 at 10:06:01PM -0700, Stephen Hemminger wrote:
[...]
> Why can lscpu find the same information without being root?
> Most of the checks (cpuid, file locations etc) can be found out
> by non-root. Only dmidecode seems to require trust, aren't there
> enough ways to find out without using dmidecode?

Yes, we can probably make virt-what run as non-root, although some
tests (the ones relying on dmidecode) will have to be disabled.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the virt-tools-list mailing list