Search
What security risks can be introduced this way, and how? Consider the following scenario: A legitimate server listens on some network port. Usually¹ no other process can listen on the por...
I have a systemd unit that does some stuff on the internet. Sometimes this gets fired at startup. I want to make sure it's delayed until the computer is connected to the internet. In my notes I fo...
I saw another post recommend using Fedora if you want cutting edge features. Is Fedora really a "cutting edge" distro? I am not very familiar with Fedora, I know it's a community counterpart to R...
Can I restrict myself from certain actions when I SSH in from outside a certain IP range? For instance no sudo? Maybe with ~/.ssh/authorized_keys having a from="!1.2.3.4/26" option with some kind ...
Surely there exists a command to print out the system's mother board model? Opening up the chassis is not an option.
Try reading the files in /sys/class/dmi/id/, some of them don't require root privileges. For example: board_name board_vendor
I have created a set of profiles in OpenRGB that set the RGB lights on the fans and LED strips inside my desktop case. This works as expected, however, the activation of a profile does not persist ...
How does the init process play a role in the booting of Linux?
I vote against the merger. It's true that any LS question is likely to be on topic for PU, at least as I understand the scope of the latter, not being a participant in that community. However, I h...
I saw @dsr's user card. As you can see his sum of received votes is 1. But, if you visit his profile than it will show you that he has a question and answer, both of which have 1+1=2 upvotes. He...
The basis of the Unix philosophy is to decompose complex tasks into simple sub-tasks, so that one can easily choose a combination of simple Unix tools to solve the problem in an intuitive way. Oft...
I do not see a way to tell on the main list of questions which ones have been marked as "works for me" by the OP. I can see the questions which indicate they have zero answers, but I consider any ...
MWE To reproduce: Add bindkey -v to your ~/.zshrc. Invoke python interpreter: python. Type something into the prompt without hitting ENTER: this = "this" + "that". Press ESC and try any vim ...
You can modify your existing code to use the cursor shape codes for a vertical line (or "I" cursor) and a block cursor instead of the beam cursor shape. Here is an updated version of your code that...
virsh blockresize vmname diskname --size 123b vmname is the name of the "domain" in libvirt parlance. diskname is the name inside /dev int the vm. vda or vdb for instance. 123 should be the exa...
How can I grow a libvirtd VM's LVM-backed virtual disk online, without rebooting the vm. My host has an LVM VG for VMs. Each VM disk is an LV to the host. It's easy to grow the VG by adding a PV...
I uninstalled PulseAudio and installed PipeWire. It seems like now, every application gets an independent audio configuration. When I go into pavucontrol I see "Spotify" where I configure the volu...
I am unable to create new tablespaces on a fresh Postgres 15.3 installation on Ubuntu 22.04. I tried the following so far: re-install Postgres fully loosen file system permission disabled SELi...
When I try to start MariaDB server (same problem with MySQL) on a fresh Debian 11 install in a Windows Subsystem Linux (WSL) I got the following error: $ sudo systemctl start mariadb System has n...
My device is Thinkpad E40 with openSUSE Leap 15.4. I've use this device under this OS weeks ago and didn't happen this problem. After normally running, wlan0 device not show in nmcli and my wirele...
Although this would be bad design for other reasons, I can imagine a situation where a field from one file or database can be used as a file name. Imagine something like value="$(mysql -e 'select ...
The obvious way to do it is: Find some way to get a list of the files Pipe it into wc to count Classically, this would be find /path/to/dir | wc. However fd does the same thing with better u...
Question What is the simplest way to change the cursor to indicate vim mode when using zsh? Notes I want it to show as a vertical line in insert mode and a block in normal mode. This is the cur...
I'm trying to help fix a Debian installation that has ended up with a mix of Debian release repositories, aka a "FrankenDebian". This one has the bullseye and unstable repositories listed in /etc/a...