diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-05-22 16:54:03 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-23 16:40:33 +0200 |
commit | 45b8632dcc0edcc60e17a2d068b433eaf82fdf82 (patch) | |
tree | 93438a98bfd37dfbe4f753ed1d2048df43e89003 /util.h | |
parent | 3f917b326b1a29a8dad85031e268616e8f06d6e2 (diff) | |
download | passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar.gz passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar.bz2 passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar.lz passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar.xz passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.tar.zst passt-45b8632dcc0edcc60e17a2d068b433eaf82fdf82.zip |
conf: Don't lecture user about starting us as root
libguestfs tools have a good reason to run as root: if the guest image
is owned by root, it would be counterproductive to encourage users to
invoke them as non-root, as it would require changing permissions or
ownership of the image file.
And if they run as root, we'll start as root, too. Warn users we'll
switch to 'nobody', but don't tell them what to do.
Reported-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions