Questions tagged [configuration]
The action of modifying a program's behavior, generally by modifying a text file.
1,545
questions
0
votes
0
answers
6
views
Kernel configuration: how to enable all modules while keeping an oldconfig
Here is my problem: I would like to configure the kernel with some specific options already set/unset by me, and then defaulting all the other options as if using make allmodconfig.
At the moment, I ...
0
votes
1
answer
11
views
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 ...
0
votes
1
answer
23
views
Would vsftpd not default to using the system username and password?
I downloaded vsftpd-3.0.5.tar.gz and successfully compiled it to generate vsftpd on computer A. Then I copied vsftpd to another computer B and created a new file called vsftpd.conf on computer A. Then,...
0
votes
0
answers
21
views
trouble in laptop with setxkbmap
So I have a .xsession config that works well in several pc, but with a laptop I recently set up I have some issues.
When I systemctl halt [or suspend] the laptop, then when it starts again [or wakes ...
1
vote
1
answer
18
views
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 ...
2
votes
1
answer
38
views
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-...
1
vote
3
answers
61
views
How to restrict user login for specific IP-address (private address)?
I have two users on my ssh-server machine, user_A and user_B. user_B is permitted to log in with private key only for security reasons, because he needs to log in from remote. All this works.
My ...
0
votes
0
answers
103
views
Which settings of XFCE can be currently configured on NixOS (during build, or afterwards via Home Manager etc.)?
Currently I am trying to create a basic configuration for my NixOS 23.05 installation with the XFCE Desktop and Window Manager. My approach is to use home-manager in standalone-mode to configure the ...
0
votes
0
answers
39
views
Access to client local internet and vpn server local network
When I connect to openvpn, I want to be able to access the devices in the openvpn local network and use my local internet. But I can only access local internet and openvpn server machine. Can't access ...
0
votes
1
answer
21
views
Changing compose Tables to add new entries?
My PC is running EndeavourOS Linux with KDE Plasma as the DE.
I have recently discovered the concept of a compose key while skimming through the colemak website. In the section where it's being ...
0
votes
0
answers
41
views
"Bracketed Paste Mode" gone wrong
I turn off enable-bracketed-paste feature whenever I log in into my bash, and I need to access a remote server which had not turned it off system wide.
Many time, this is what I'm getting before I've ...
1
vote
0
answers
14
views
Does a 'weekday' parameter need to be added to unattended upgrade?
I wish to change this such that Software Updater will prompt on Sunday mornings rather then Tuesday mornings as it has been. The following are the existing lines of code:
APT::Periodic::Update-Package-...
-1
votes
1
answer
49
views
Why does ls show this file twice with different sizes?
Why is 50-redhat.conf listed twice with different file sizes for this directory with this ls:
ls -la /etc/ssh/ssh*
-rw-r--r--. 1 root root 1921 Aug 2 02:58 /etc/ssh/ssh_config
-rw-------. 1 ...
2
votes
0
answers
63
views
Add timezone to HAProxy logs
I have a HAProxy (2.2.9) running on an Debian 11 machine and I would like to add the timezone to the HAProxy logs like Apache has: [25/Jul/2023:14:27:40 +0200].
I have found that I can use the log-...
0
votes
2
answers
85
views
Can't make local configuration before starting Firefox
For Debian Linux, I have a post-installation script in which I would like to make a few local settings for a newly created user account in the file ~/.mozilla/firefox/<profile-directory>/user.js....
0
votes
0
answers
47
views
weston user with super user permission on Wayland
TL;DR;
weston initializes as weston user, without super user permissions.
However the application needs some su permissions and share some files with the root user.
What is the correct way to ...
0
votes
0
answers
29
views
Why do commands like `vipw`, `visudo` exist, while a general editing with lock command does not exist?
Commands like vipw, visudo, vigr open the configuration files with the default editor and set lock, so that the editing would be safe. Why do we have commands to edit these files specifically, while a ...
0
votes
0
answers
70
views
no files found matching '/etc/strongswan/swanctl/conf.d/*.conf' on CentOS 8 Stream
I have a very simple host-to-host connection setup with PSK authentication. I setup the same configuration on two centos vms and two ubuntu server vms and the configuration works perfectly on ubuntu ...
0
votes
0
answers
15
views
Migrate from Ubuntu 16.04.7 to 22.04.2 / 2 IP's / 2 NIC's same Subenet / Same Gateway
I need to migrate an application from an Ubuntu Server 16.04.7 to 22.04.2. The hosted service requires two IP addresses, one for each of the two NICs. The default section with the nexthop info from ...
0
votes
0
answers
100
views
nginx on Debian returns 404 even though requested file exists
nginx on Debian returns 404 even though requested file exists
I followed the official documentation (https://nginx.org/en/linux_packages.html#Debian) to install nginx on Debian.
Install the ...
0
votes
0
answers
122
views
How to modify timesyncd.conf in a yocto recipe
I have a yocto build and now I am trying to write a recipe in which I can adjust the parameters in the configuration file under /etc/systemd/timesyncd.conf.
Responsible for the file is probably the ...
1
vote
0
answers
30
views
Conditionally skip ssh-config options when ssh is too old for them?
How can I use SetEnv in ~/.ssh/config (and the same config on various systems), but not throw an error when ssh is too old to support it?
I've tried adding a Match exec statement to exclude that ...
0
votes
1
answer
69
views
Common practice for config files
I'm making a file manager system for managing my projects. My package is named filesystem. I need a config file that stores the path to the root of my file system.
I think I need to create a file /etc/...
0
votes
0
answers
23
views
os-prober execution has failed
Issue on os-prober script
It is failing, hanging at a point it's scanning /dev/sda2
i.e. partiion of ESP, so will grub-mkconfig with enable OS probe option
$ os-prober
/dev/sda12:MX 19.4 patito feo (...
0
votes
1
answer
157
views
CachyOS - Fastfetch configuration
I am using the fastfetch command in CachyOS. I would like the captions that are on the left to be in the middle. How to do it? My configuration file looks like this:
--separator ": "
--set-...
0
votes
1
answer
52
views
Front center mapped as LFE, LFE as front center on my 5.1 Debian 12
switched from windows to linux yesterday after 10yrs
Trying to learn linux and it's damn hard just to do normal things my poor 3 brain cells . I literally can say I'm going insane.
Build: Intel i3 530,...
0
votes
0
answers
41
views
How to make conky appear on top of all windows?
How to make a conky window on top of all windows?
The only thing i find is how to avoid it but i want conky to be on top of all windows.
I would like to know what parameter is responsible for this or ...
0
votes
1
answer
137
views
Custom ssh config is ignored with jump host
I have a custom ssh config on a directory. When the jump parameter -J is passed, ssh ignores the custom config, instead it looks at the home config at ~/.ssh/config.
Is this how ProxyJump works or is ...
0
votes
0
answers
171
views
How to solve error messages when logging into Gnome with X2go
I am trying to log into a Gnome box running Ubuntu 23.04 using x2go (from a Win 10 machine). The connection can be established but a grey Gnome error screen shows up in the x2go window telling me to ...
-1
votes
1
answer
25
views
Troubleshooting DNS access issue on local network
I have installed a DNS by creating the two zones on my server, CentOS 7. Here are the steps:
vi /etc/hosts
etienne credo.local etienne
yum install bind bind-utils
vi /etc/named.config
zone"...
0
votes
2
answers
282
views
systemd / service user has not the same rights / permission as same user in a shell
I'm trying to set up the Hashicorp Vault Agent as a systemd service.
I can manually run that agent with the user vault.
Note, perhaps that's important: here's the /etc/passwd for that user :
vault:x:...
1
vote
0
answers
60
views
How can I tell iwd to prefer a network over another?
I use iwd as wireless deamon, and it automatically connects to available networks for which I've inserted the password in the past.
How can I instruct it to prefer a SSID over another when more than ...
0
votes
1
answer
31
views
ClawsMail 4.1; how to change default directories?
Currently, my mail boxes are scattered in multiple directories across my home directory.
I want to place all mail boxes under 1 directory: /home/Claws .
Can this be done, and how to do?
Thanks.
5
votes
2
answers
1k
views
Source not working the same way for bash as for zsh, cannot forward source commands as expected
I have been using bash at work and zsh at home, different macbooks. I know very little bash or zsh scripting, so I didn't dare do the switch until I managed to get my ZSH on par with what I had at ...
1
vote
0
answers
51
views
Best practices for file and directory permissions in a multi-user environment
This is my situation in an experimental environment.
A php script is creating files in a target directory when it's executed from Apache via web request.
It runs as www-data user, the created files ...
0
votes
0
answers
158
views
Unbound split horizon DNS for NextDNS routing per VLAN
I'm running Unbound version 1.13.2 (the most recent version available on PFSense). I'm trying to do some source based routing of my DNS traffic. I use NextDNS and have set up two profiles, one for ...
0
votes
1
answer
45
views
What a linux command take the result of "which" command as an argument and list the configuration file paths related to the command we gave to which?
I can't recall that command and I can't even find it in Google. It's just killing me.
The usage of the command is like:
<that command> `which bash`
The output looks like:
/etc/skel/.bash_logout
...
0
votes
1
answer
45
views
How should I know which kernel options to use?
When solving a problem, requires enabling kernel options e.g. with menuconfig. How do I know which to enable/disable?
0
votes
0
answers
92
views
Setting KDE font size without Plasma desktop
I am using some KDE applications (okular, konsole...), but without a KDE desktop environment (using fvwm). I want to increase font size in ~/.config/kdeglobals but the settings there are ignored.
I ...
0
votes
1
answer
42
views
mutt: configure index color based on To: header
i access proton mail through mutt and i've added a custom domain that goes through the proton account. therefore my INBOX has incoming mail to 2 different addresses. i'd like to color (in the index ...
1
vote
0
answers
336
views
Merge set x (xtrace) and v (verbose)
How to merge set -x and set -v in ash? (or set -v with a prefix)
In other words, echo back command upon running.
The DEBUG signal does not exist in ash: DEBUG: invalid signal specification.
set -x
$ ...
0
votes
0
answers
11
views
dnsmasq.leases write wrong parameter (opensuse)
I'm running platform tests on several computers. The dnsmasq.leases is writing a strange parameter when I test with Opensuse OS. Can anybody help me?
1681465068 00:04:5f:41:3a:d9 55.0.168.110 cpru201 ...
0
votes
2
answers
178
views
Multiple users ssh onto the same account simultaneously. How can everybody use their own .conf files?
We have an Ubuntu PC that has one user, dev, which multiple people ssh into simultaneously. How can each user that's sshed into dev use their own .conf files?
There are numerous scripts that only work ...
1
vote
1
answer
1k
views
How to switch lightdm-gtk-greeter to use wayland only? (x11 not installed)
I'm on a Fedora Server 37 iso, so no DM/DE is pre-installed.
Install wayland, lightdm, and lightdm-gtk-greeter.
Edit lightdm's config to use lightdm-gtk-greeter
(Line 102) change greeter-session=...
0
votes
0
answers
70
views
opensuse leap 15.4 autoyast configuration
I am trying to install the openSUSE Leap 15.4 OS unattended using Autoyast.
The first stage does it correctly but, in the second stage, in the last part of the YaST2 installation, I get the error &...
-1
votes
1
answer
196
views
Troubleshooting Oh-My-Fish configuration making fish really slow
Without changing the configuration my fish shell started to be really slow, like between 1 and 5 seconds to a simple ls command.
Note that the slow behaviour started suddenly. I have a local install ...
4
votes
2
answers
2k
views
How to pin a package version with `nix-shell`?
From what I understand, I can use a given version of Nix packages using the -I flag. But I would like to know if it is possible within a single shell.nix conf to have something like:
git v2.1.2
htop ...
0
votes
1
answer
129
views
Broken Pipe Way Ahead Of ClientAliveInterval * ClientAliveCountMax
This has been happening way too often to be an accident.
On my server's /etc/ssh/sshd_config file I have:
ClientAliveInterval 3600
ClientAliveCountMax 3
And nothing shows till I return say 30 mins to ...
0
votes
0
answers
124
views
How does the nftables set-syntax replacement for meters work exactly?
nftables nowadays recommends to use sets instead of meters when e.g. creating dynamic per-IP blacklists (example adapted from man pages v0.98:
set blackhole {
type ipv4_addr
flags dynamic
...
0
votes
1
answer
112
views
i3: Title bar and border colors not matching
No matter what I do, my i3 config keeps displaying different colors on active windows. This is what it looks like (notice the lighter sidebar compared to the title bar):
And this is the relevant part ...