Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows empty password #88

Open
1vanK opened this issue Oct 2, 2024 · 1 comment
Open

Allows empty password #88

1vanK opened this issue Oct 2, 2024 · 1 comment

Comments

@1vanK
Copy link

1vanK commented Oct 2, 2024

Please make it possible to set the empty password during installation (like in Fedora). Possibly with some kind of warning message about the unsafety.

@egabosh
Copy link

egabosh commented Oct 22, 2024

Moin,

as a workaround you can suppress the Password-Questions to the detriment of security in the installed System with the following commands:

# sudo without password
echo '%adm ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/adm
sudo chmod 640 /etc/sudoers.d/adm

# admin actions without password
echo '/* Allow members of the adm group to execute any actions
 * without password authentication, similar to "sudo NOPASSWD:"
 */
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("adm")) {
        return polkit.Result.YES;
    }
});' | sudo tee /etc/polkit-1/rules.d/adm.rules
sudo chmod 644 /etc/polkit-1/rules.d/adm.rules

And install Mint with autologin.
Hope it helps a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants