trachemys

joined 1 year ago
[–] [email protected] 8 points 10 months ago

UTF-32 is completely fair.

[–] [email protected] 10 points 11 months ago (4 children)

I completely forgot about info.

[–] [email protected] 1 points 11 months ago (6 children)

I don’t even use swap anymore. 32gb of ram ought to be enough.

[–] [email protected] 14 points 11 months ago (1 children)

The key word to be searching for is “ungrab” mouse. here is a stackexchange on this.. On some systems ctrl-alt-/(on keypad) might work, but that is often disabled for security.

[–] [email protected] 31 points 1 year ago (1 children)
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I’m mostly interested in disabling the command to create a root shell ‘machinectl shell @root’. Attempting to ‘systemctl disable systemd-machined’ doesn’t work.

Edit:

After some more poking, it seems polkit is the way to do it. Create the file /etc/polkit-1/rules.d/10-deny-machinectl.rules and add the following

polkit.addRule(function(action, subject) {
   if (action.id.startsWith("org.freedesktop.machine1.")) {
         return polkit.Result.NO;
   }
});

The list of all actions you can filter on are in /usr/share/polkit-1/actions/org.freedesktop.machine1.policy

 

Includes interviews with both RedHat and Rocky Linux.