configuration

Force non-interactive `apt-get install` to fail on config file conflict

Force non-interactive `apt-get install` to fail on config file conflict I’m doing unattended / non-interactive package installations via DEBIAN_FRONTEND=noninteractive apt-get install -y my_package This works as attended in most cases, but still gives me an interactive prompt if there is config file conflict, e.g. something like this: Configuration file ‘/etc/foo’ ==> Modified (by you or …

Total answers: 1

How to disable MAC address randomization in Fedora 40?

How to disable MAC address randomization in Fedora 40? I upgraded to Fedora 40 and was introduced to its new feature of MAC address randomization (for Wi-Fi interfaces at least). How do I disable it? Links I found didn’t work for me: https://discussion.fedoraproject.org/t/f40-change-proposal-wifi-mac-randomization-system-wide/99856/5 https://fedoraproject.org/wiki/Changes/StableSSIDMACAddress I tried to follow the advice from link 2 and create …

Total answers: 1

SSH: Bad configuration option

SSH: Bad configuration option I have a problem setting up the SSH service: SSH: Bad configuration option Asked By: Mark Wudman || Source I found a solution at: https://vsys.host/how-to/how-to-use-the-ssh-config-file HOST AND PATTERN MATCHING Sophisticated host and pattern matching in SSH config files allows for efficient management of connections to multiple servers. Using patterns and wildcards, …

Total answers: 1

Possible to validate unattended-upgrades configuration?

Possible to validate unattended-upgrades configuration? I edited the /etc/apt/apt.conf.d/50unattended-upgrades file (on Ubuntu 22.04.3) and intentionally introduced an error: Unattended-Upgrade::Automatic-Reboot-WithUsers "Falsed"; // instead of "false" When I restart the service it shows as running: systemctl restart unattended-upgrades.service systemctl status unattended-upgrades.service # shows "Active: active (running)" If I run unattended-upgrades –dry-run it exits without error. How do …

Total answers: 1

Where is the wpa_supplicant.conf option "update_config=1" documented?

Where is the wpa_supplicant.conf option "update_config=1" documented? First of all, I know what the option does. According to the Arch Linux Wiki, it gives the command line "wpa_cli" utility the permission to rewrite wpa_supplicant.conf: Warning: Setting update_config to 1 allows wpa_supplicant to overwrite the configuration file. When overwriting, wpa_supplicant will reset file permissions according to …

Total answers: 1

Edit configuration files idempotently

Edit configuration files idempotently When editing configuration files, such as /etc/sysctl.conf for example, it is often useful to do the update in an idempotent way, meaning that if the script is executed multiple times, you don’t end up with multiple entries for the configuration change you made. As a real-world instance where I encountered this, …

Total answers: 2

How to disable ChaCha20-Poly1305 encryption to stop the terrapin ssh attack

How to disable ChaCha20-Poly1305 encryption to stop the terrapin ssh attack How to disable ChaCha20-Poly1305 encryption from ssh under Debian? I tried (as root): echo ‘Ciphers -chacha20-poly1305@openssh.com’ > /etc/ssh/sshd_config.d/anti-terrapin-attack echo ‘Ciphers -chacha20-poly1305@openssh.com’ > /etc/ssh/ssh_config.d/anti-terrapin-attack systemctl restart sshd But my ssh -Q cipher is still showing chacha20-poly1305@openssh.com. UPDATE: As the answers to fully solving my question …

Total answers: 6

kernel panic after after parrotOS upgrade

kernel panic after after parrotOS upgrade after attempting sudo apt upgrade on a fresh install of parrot os, new kernel update is present but trying to boot into it from grub gives gives me a kernel panic. here is what i tried and with what errors ive been getting: The following partially installed packages will …

Total answers: 1

How to configure slrn so that nano is the text editor?

How to configure slrn so that nano is the text editor? How is slrn configured so that nano is used as an editor? nicholas@mordor:~$ nicholas@mordor:~$ grep vim .slrnrc %set editor_command "vim -c %d ‘%s’" nicholas@mordor:~$ nicholas@mordor:~$ grep nano .slrnrc %set editor_command "nano -c %d ‘%s’" nicholas@mordor:~$ nicholas@mordor:~$ slrn –version slrn 1.0.3 S-Lang Library Version: 2.3.3 …

Total answers: 1

Ubuntu Apache2 Basic Authentication Issue

Ubuntu Apache2 Basic Authentication Issue I have an issue with an internal networking utility server that I am building, specifically around Basic Authentication. Now I have managed to get it to work with the following configuration:- root@P-UIDMON-02:/# /usr/local/scripts/LinuxVersion.sh ### Linux Standard Base Information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 23.04 Release: …

Total answers: 1

The "-y" flag in apt-get command

The "-y" flag in apt-get command Running apt-get with the -y flag helps runninng the command without waiting for user input. This is good when trying to run an automated script. However add-apt-repository ppa:vbernat/haproxy-2.8 requires user to press Enter, rather than the usual (yes/no/fingerprint) Does the -y also help to skip user input in add-apt-repository …

Total answers: 1

docker complain I have a bridge name conflict with a invisible network

docker complain I have a bridge name conflict with a invisible network When I reboot machine disabled the docker.service, I do not have br1 in my ip a output. However, after start docker, the br1 appears. But sudo docker network inspect does not show any related network. Error response from daemon: cannot create network 33618cb1603a773a11d97750182fde9d8feb98c03a9882bb0c4539c3ea3fbe1d …

Total answers: 1

In what file is the WiFi connection chosen in the GUI persisted?

In what file is the WiFi connection chosen in the GUI persisted? I am asking this question about several different linux systems: Ubuntu Raspbian Arch Linux Each of these systems offers a GUI with a list of Wifi servers in which you pick the one you wish to connect to. I would like to know, …

Total answers: 1

Onedrive sync folders and files without downloading them in Ubuntu 23.04

Onedrive sync folders and files without downloading them in Ubuntu 23.04 After a few years I have installed Ubuntu again and I’m trying to configure it to my liking. I own a Microsoft account with 1 TB cloud storage. I’ve installed the Onedrive client on Ubuntu but it seems that it downloads all the files …

Total answers: 1

Nautilus open terminal in remote edit command

Nautilus open terminal in remote edit command I regularly use the "right click → open in remote terminal" functionality of Nautilus in Ubuntu 22.04. I don’t know the command, but it seems it is doing ssh blah@host, and I would like to add the -X flag so I can open GUI applications from this terminal. …

Total answers: 1

Chaining pipewire sinks for a streaming setup

Chaining pipewire sinks for a streaming setup Good evening! I’m trying to create a streaming setup for me and my buddies to hang out via Skype and I’m really struggling with the audio part. There are two problems : The microphone only transmits on the left channel. I would like for my microphone to be …

Total answers: 1

Dark mode on Xournal++

Dark mode on Xournal++ Recently I installed Xournal++ in Ubuntu. I came across this link for a cool nord theme. I tried to install this to my Xournal++ application, but I am a complete newbie to both Linux and GitHub so I have zero idea about what to do. I did however install the Git …

Total answers: 1

Set Mutt's default save folder depending on the current folder

Set Mutt's default save folder depending on the current folder I would like to configure Mutt so that the default save folder changes depending on the current folder: When reading messages in the folder =account1/Unsorted or =account1/Important or any other sub-folder under =account1/, I’d like the default save folder (the one suggested when pressing s …

Total answers: 1