Re: Fedora 32 System-Wide Change proposal: Disallow Empty Password By Default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 26, 2019 at 9:45 am, Dominique Martinet <dominique.martinet@xxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux