sorted by: new top controversial old
[-] trachemys@iusearchlinux.fyi 8 points 10 months ago

UTF-32 is completely fair.

[-] trachemys@iusearchlinux.fyi 10 points 11 months ago

I completely forgot about info.

[-] trachemys@iusearchlinux.fyi 1 points 11 months ago

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

[-] trachemys@iusearchlinux.fyi 14 points 11 months ago

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.

[-] trachemys@iusearchlinux.fyi 8 points 1 year ago

Cue “what you are calling Linux is actually” copypasta

[-] trachemys@iusearchlinux.fyi 2 points 1 year ago

Back when it worked, you just needed to disable the e cores in the bios.

[-] trachemys@iusearchlinux.fyi 2 points 1 year ago

The worst is that if the ‘wheel’ group is empty, it will give a root shell to absolutely anyone.

[-] trachemys@iusearchlinux.fyi 0 points 1 year ago

It’s not like any place on the internet is all that friendly once it grows more than a couple dozen people.

[-] trachemys@iusearchlinux.fyi 2 points 1 year ago

What are the arch forums?

24
submitted 1 year ago* (last edited 1 year ago) by trachemys@iusearchlinux.fyi to c/linux@lemmy.ml

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

[-] trachemys@iusearchlinux.fyi 8 points 1 year ago

I have no experience with this, but did some googling. The AMD ROCm installer instructions for Ubuntu are here. You need ROCm for HIP. That installs the entire SDK not just the runtime.

The Arch Wiki says you just need the package hip-runtime-amd. But I can’t find that package for Ubuntu.

There are also HIP installation instructions for PopOS. That’s similar to Ubuntu.

[-] trachemys@iusearchlinux.fyi 8 points 1 year ago
echo $(($(rdmsr -c 0xc0011029) & (1<<9) )) 

Should return 512. You might need a ‘sudo’ before the rdmsr (any permission errors in any of this means it didn’t work). Unfortunately, this needs to be done every time you reboot. The next security update for linux will do this automatically.

1

Includes interviews with both RedHat and Rocky Linux.

1
view more: next ›

trachemys

joined 1 year ago