Package: virt-manager
Version: 0.8.3-2
Severity: normal

Hello,

When there is no user specified in SSH location virt-manager assumes that
'root' is the default user.

$ grep -B3 root /usr/share/virt-manager/virtManager/connect.py
        if conn == CONN_SSH and '@' in host:
            user, host = host.split('@',1)
        else:
            user = "root"

IMHO, not only this is counter-intuitive (because when I do `ssh <host>`
the assumed user is my local username) but also encourages bad practices
(login as root only to connect to libvirt's UNIX socket).

If user part is omitted, local username should be used instead.

Regards,
-- 
Piotr Lewandowski



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to