On Tue, Nov 26, 2019 at 9:45 am, Dominique Martinet <dominique.marti...@cea.fr> wrote:
They just expected no root password = no login possible, but it turns
out 'su' just gave out a root shell with no password entered...

It depends on whether the account is locked or not. In Workstation we default to locked passwordless root, equivalent to:

# passwd -d root
# passwd -l root

which is what your association really wanted to do with their VMs: no root password, and cannot log in as root. They forgot the 'passwd -l', without which you're able to log in as root with no password. ('passwd -d' removes the password and unlocks the account; 'passwd -l' locks it.)

Michael

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to