• 0 Posts
  • 152 Comments
Joined 2 years ago
cake
Cake day: July 6th, 2024

help-circle


  • Ooops@feddit.orgtoLinux@lemmy.ml•limiting shutdown/reboot permissions
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    3 months ago

    I don’t know if Fedora (or plasma) do things differently but the normal default is that you need sudo to reboot/shutdown/etc.

    Then on basically all distros using systemd this behavior is modified via logind session and polkit. So the first thing to look at would be if a shutdown rule exists in /etc/polkit-1/rules.d/ that allow users in a certain group to shutdown/reboot in the first place.

    Mine looks like this:

    /etc/polkit-1/rules.d/50-shutdown.rules
    polkit.addRule(function(action, subject) {
    if ((action.id == "shutdown" ||
    action.id == "reboot") &&
    subject.isInGroup("wheel"))
    {
    return polkit.Result.YES;
    }
    });

    So every user in the wheel group can do it without password prompt. Without this UI elements for shutdown/reboot will try assuming they have the right but simply fail.





  • Ooops@feddit.orgtoNews@lemmy.world•Europe’s Summer of Nightmares
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    3 months ago

    They will keep burning the planet while screaming about the importance to keep refugees they caused away, until their dreams finally can come true and they can use (preferably lethal) force against those hated migrants.

    Or to quote a few of Germany’s AfD morons:

    “I want a civil war so badly, and millions of deaths. Women, children—I don’t care. (…) It would be so wonderful. I want to piss on corpses and dance on graves. SIEG HEIL!”

    “We simply have to close the borders and then put up with the horrific images.”

    “It doesn’t matter to the refugee which border—the Greek one or the German one—he dies at.”

    “After all, we now have so many foreigners in the country that another Holocaust would be worth it.”

    You think there is a conflict between their idiotic and destructive policies and their wish to keep migrants away because you are still sane. That’s a problem they don’t have…





  • The fat32 formated partitions are EFI System Partitions used to boot your PC. I assume that sda3 is the one Windows created, while a later Linux install created sda5 as an alternative. Yet sda5 doesn’t seem to be really used (with that cute 9MB used), so your Linux boot stuff -including a bootloader that would allow you to start Windows (or you picking directly from EFI?)- is probably all sitting alongside Windows’ EFI stuff in sda3.

    In fact I wouldn’t touch anything there without some backup.










  • No, that’s just the latest official nvidia driver still supporting those cards provided as a regular package for that distro.

    Basically the moment nvidia dropped support for some cards, they split the nvidia package. They are now provinding nvidia-open (all cards still officially supported by nvidia are also supported by the new open soruce driver) and ‘nvidia-580xx’ for older ones. And although the actual driver by nvidia doesn’t change anymore the package isstill maintained in the sense that they look out for it to work with up-to-date Linux kernels.

    Arch Linux at the moment provides (via the community maintained repos) nvidia drivers all the way back to ‘nvidia-340’. That’s GeForce8800 or QuadroFX age from 20 years ago.