Questions tagged [configuration]

The action of modifying a program's behavior, generally by modifying a text file.

Filter by
Sorted by
Tagged with
0
votes
1answer
44 views

How to configure IP Forwarding

I have a device DEV1 which should communicate with device DEV3, however in the middle there is DEV2. My understanding is that I need to use IP Forwarding in DEV2 and edit route tables on DEV1 and ...
0
votes
0answers
19 views

How to generate network interface config file?

On CentOS, is there a way to generate again the network interface config files? The ones stored in /etc/sysconfig/network-scripts/ifcfg-<ifaceName> It's quite easy to do manually: Get ...
1
vote
0answers
22 views

Why am I still getting a password prompt for git pull even after providing certificate and key

I have added http.sslCert and http.sslKey in git global config file and set http.sslVerify to false but still getting password prompt for git pull. Tried googling for reasons but could not find ...
0
votes
1answer
27 views

OpenSSH Server: Directive 'SyslogFacility' is not allowed within a Match block

I want a specific matched User to have its 'ssh/scp' activities logged in an alternative facility. The current default is AUTH, but I'd like to log stuff for user 'dummy' to syslog Facility 'LOCAL2'. ...
0
votes
0answers
22 views

How to investigate long response time for request [closed]

Developers noticed quite long response time (11 seconds) for Ajax requests on our website. The request is waiting for response in queue, because the browser already send a coulpe of Ajax requests. I ...
0
votes
1answer
32 views

Why journalctl don't save my logs of the boot before forced shutdown?

My PC freezes a third time and I have to shut it down forcibly. Why doesn't journalctl save the boot logs before forced shutdown? When I do journalctl --list-boots I only get the boot after crash. I'...
0
votes
1answer
31 views

Ansible playbook versus BASH script

I'm looking for a high-level understanding about use-case differences between these two tools. Could someone explain to me the use case for Ansible playbook versus a bash script to automate a ...
1
vote
1answer
41 views

How can I `usermod` old users with new `/etc/skel` files?

I want to "update" old users with new /etc/skel content on Debian and Ubuntu installations. Scripting this is possible... find /home -maxdepth 1 -mindepth 1 -type d | while read homedir; do user="...
1
vote
1answer
28 views

Persisting sshd_config settings

When modifying Linux configuration files, it is often recommended to place local changes under a .d directory, e.g., /etc/sudoers.d/ or /etc/apt/sources.list.d. In my understanding this is to avoid ...
0
votes
1answer
44 views

'/usr/bin/pg_restore' file not found. Please correct the Binary Path in the Preferences dialog

I've installed pgadmin4 through software manager in Linux Mint Tricia. Also I've installed Postgres10. But when I create a new database and try to restore newly created database. This error message is ...
-3
votes
1answer
54 views

How do I un-comment lines in this configuration file?

## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a ...
0
votes
1answer
21 views

Commit changes in xfce4-settings-manager?

In xfce4 I can run xfce4-settings-manager which opens a registry of values I can set (which otherwise would be set via a GUI). I thought both forms to modify the settings should be equivalent. However ...
1
vote
2answers
30 views

Recommended ulimit values for Centos7

Trying to configure PHP to perform a core dump, I executed the following: [root@myserver ~]# echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern [root@myserver ~]# echo 0 > /proc/sys/kernel/...
1
vote
0answers
26 views

How to get the previous applications launched automatically after a reboot?

In the past, after a reboot, I used to get the same applications I had running launched automatically, with the same files opened. With Manjaro/Arch I cannot get the same behaviour. Is there any ...
0
votes
1answer
47 views

How do I permanently set an environment variable for a specific Flatpak application?

I would like to set an environment variable so that it is set when I launch a specific Flatpak application, and only set for this application. How do I go about doing this in a permanent manner?
1
vote
1answer
29 views

What set of system-wide configuration settings can conflict when installing different applications on a unix-based OS?

Reading this report on containerization the authors mention that: A problem caused by Unix’s shared global filesystem is the lack of configuration isolation. Multiple applications can have ...
0
votes
0answers
34 views

Standard way to check the hard drive temperature without installing additional packages

I want to check the temperature of my hard drive without installing hddtemp or smartctl. Is there a standard UNIX way to do this? For example, to check the CPU temperature one doesn't need to install ...
1
vote
1answer
22 views

How does kbuild compare to the device tree?

I know KConfig serves to tune the C preprocessor, at the start of the Linux kernel compilation. And that the device tree is used to give a compiled kernel a description about hardware at runtime. How ...
2
votes
2answers
37 views

Verbosity in aptitude command-line mode via its configuration file

This is related to a question I asked about 3 years ago. Since then things have changed a bit apparently. One of the obvious ones is that aptitude itself has changed from whatever version it was to ...
1
vote
1answer
34 views

Which services read the /etc/securetty configuration file?

Which programs / services are parsing contents of /etc/securetty configuration file?
1
vote
1answer
33 views

How to change value of a key from terminal among non-unique keys in a .conf file?

I have a .conf file in key/value format. But there may be some non-unique keys. Distinction between them is like below: ### ### [meta] ### ### Controls the parameters for the Raft consensus group ...
1
vote
2answers
115 views

Using ntpd for monitoring time drift, but not for adjusting

I would want to use the common ntpd daemon to test whether time is kept by a virtual machine or not, without letting it actually adjust the clock. I'm running Solaris 11.4 (Oracle's standard image ...
0
votes
0answers
27 views

FreeRadius password cannot be authenticated because a hash header was added by the authenticator

I seem to have a problem when configuring FreeRadius-LDAP with Aruba IAP to implement the 802.1x framework in my organisation's network. So far, I can have perform a radtest locally and remotely from ...
0
votes
0answers
134 views

vsftpd service does not start saying vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see: Nov 20 17:49:58 my-vm ...
1
vote
3answers
37 views

link config files

Problem I'm trying to move my config files from a .dotfiles folder, and link those files to the corresponding config path. Example In this example I'm trying $ ln -s ~/.dotfiles/nvim/init.vim ~/....
0
votes
1answer
23 views

Lightdm displaying wrong username

I have an Ubuntu 19.10-based distro with LightDM installed. I changed the username recently, but lightdm keeps displaying the old username. Is there a way I can fix this? I have tried fiddling with /...
2
votes
1answer
65 views

Changing user for supervisor - error CRIT Set uid to user

I changed user for supervisor from root to non-root called dev. All is good, supervisor is running as dev: me@server$ ps aux | grep supervisor dev 25230 0.2 1.0 60404 21392 ? Ss 21:42 ...
-1
votes
1answer
140 views

.tmux.conf not working

I have recently installed Tmux and I cannot get anything I put in .tmux.conf to work. I have the file in my home directory, with a call to it in .bash_profile (it would not even read it otherwise). ...
0
votes
0answers
22 views

Why is pxelinux not able to load files nested deeper than the tftp root directory?

Whenever I try to access, for instance, a kernel file from within the root of the tftp server. In my case /tftpboot. So something like the file /tftpboot/vmlinuz, pxelinux happily loads the file. ...
0
votes
1answer
88 views

Where on disk is the config file of pm2-logrotate module?

Simple question. I'm trying to find the config file of pm2's logrotate module to edit it manually. Unfortunately this information is not provided in the Github repo's README. So where is this file? ...
0
votes
0answers
24 views

Syntax highlighting for git syntax in gedit

Is there a way to automatically get syntax highlighting for git syntax in gedit? I set gedit as my default git editor with git config --global core.editor "gedit -s". Now when I type git commit, ...
-1
votes
2answers
50 views

Use of a specific character for commenting, like e.g. #, in config files depends on…? [closed]

I need help settling a discussion about comments in configuration files. This is about the question "what dictates which character/string is used for commenting in any given program?" Theory A) ...
0
votes
0answers
12 views

How to config 'Thinstation' before build

I'm new to thinstation. Currently, I'm using default build version for my old PC. But I would like to do some changes to the system before build it, so I don't have to change same thing every time. ...
0
votes
0answers
15 views

'locate.updatedb' complains of missing database where it shouldn't be looking

I am trying to get locate(1) to work in a particular configuration, where the database is generated and stored completely in user-space within my home directory, and the database is only updated ...
2
votes
2answers
56 views

How to split logs into monthly, daily and hourly folders when bringing in syslog events?

I am bringing in log files via rsyslog and my config looks like the following: root@rhel:/etc/rsyslog.d# head mail_prod_logs.conf if $fromhost-ip=="10.10.10.10" and $programname=="AMP_Logs" then -/...
0
votes
1answer
20 views

How to edit my config file to create two log files while ingesting syslog events?

I am sending mail message logs and amp logs from the same server 10.10.10.10 via syslog to my RHEL7 server. I am running rsyslog and have the following config file: mail_logs.conf $template ...
0
votes
1answer
1k views

Convert this particular .bash_profile to .zprofile

I have this .bash_profile: alias ip='ipconfig getifaddr en0' PS1="\[\e[0;31m\]\$ \[\e[0;32m\]\w\[\e[0m\] : " export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s ...
1
vote
1answer
39 views

vsftpd include configuration from another file

I tried configuring vsftpd and was able to configure it successfully. Is there any option to "include" configuration from another file inside /etc/vsftpd/vsftpd.conf? I tried looking at the man page ...
0
votes
0answers
39 views

How to mute syslog from console, without using actual syslog daemon?

I usually switch between Xorg and (framebuffer) text console a lot. But every time I switch to text console, I got a message like this on the text console: acpid: client 7251[0:0] has disconnected ...
1
vote
0answers
34 views

How to allow only one user in a group in sshd_config

I've just changed the /etc/ssh/sshd_config file on a server, where I want to deny all users except for one in a specific group. This is because I am in the disallowed group myself, but as the server's ...
0
votes
0answers
51 views

How to get a more complete virtual keyboard in fedora 29

I recently installed fedora 29 on a tablet. The default virtual keyboard lacks many keys, making it difficult to use the terminal. How can I change it? I tried to use onboard, but it shows erratic ...
2
votes
2answers
87 views

How to hide/disable preprompt messages?

When we boot a GNU/linux system it shows lots of messages on stdout. And then, immediately before the prompt it shows something like this: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 ...
0
votes
0answers
38 views

NanoPi NEO2 disable/blacklist audio

I have a NanoPi NEO2 on my hands, which is a neat little board. The board has analogue 3.5mm audio and HDMI audio (although I am not sure how to get that one as there is no HDMI connector). # aplay -...
3
votes
2answers
122 views

How to configure GNU screen or tmux to reattach to the previous session without using command line arguments?

By launching GNU screen or tmux as the initial default shell (set with chsh, for instance), passing arguments seems not to be supported, such as "-d RR" for screen and "attach" for tmux. chsh's ...
1
vote
1answer
428 views

Apache/2.4.18 (Ubuntu) Server is not working with RewriteEngine mode by .htaccess for specific folder

While I am working with Web API project with Slim, I was using .htaccess for API folder /v1 under root web. My OS is Ubuntu 16.04, with Apache/2.4.18. I wanted to apply the .htaccess only for the /v1 ...
1
vote
1answer
78 views

Multiple mailboxes with same name in Sidebar

I have folder “xxx_mail” on two different IMAP accounts. I want to use Sidebar feature. The problem is there are two “xxx_mail” items. How can I change names shown in the sidebar? Mailboxes im my ....
1
vote
0answers
31 views

Reject all fonts from a directory except one with fontconfig

I'm trying to disable noto fonts for most other languages except a few using fontconfig. It used rejectfont and glob element to disable all. Then used acceptfont element but couldn't activate it. I'...
0
votes
1answer
64 views

batch curl request w/ https address txt file

I have multiple phones I am trying to obtain the up time for phones. I have enabled REST API for all phones and am looking to run CURL scripts to get the value of uptime. I have a script to get the ...
-2
votes
1answer
55 views

Does OpenSSH no longer support the “PermitRootLogin” keyword? [closed]

I am setting up a Debian server through DigitalOcean, which I initialized with a SSH-key. Currently I can log onto the server as root or as a user. Normally when I do this type of configuration, I ...
1
vote
0answers
148 views

What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default?

What are Pageblocks and migrate types in Linux memory ? How many movable/unmovable pages are defined by default? With 2GB of memory, how many movable and unmovable pages are defined ? Example - cat /...