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

learn more… | top users | synonyms (1)

1
vote
1answer
130 views

Change a value in a config file, or add the setting if it doesn't exist?

When modifying config files from the command line, I often want to find the setting in the config file and modify that line if that setting exists. If that setting doesn't exist, I want to add it to ...
1
vote
0answers
45 views

Synaptics Touchpad Configuration “take over” from Windows

I am using Arch Linux and Windows on Dual Boot, and I managed to configure my synaptics touch pad just as I wanted using the GUI settings that are available to me on Windows, but I am completly ...
6
votes
1answer
140 views

Using git to manage /etc?

I am thinking on a system, where /etc were tracked on a remote git repository. I am thinking on a git workflow, where every host machine where a different branch. Every previous versions on every ...
3
votes
0answers
55 views

Is there a more elegant way to unlink two tmux clients sharing a session from inside tmux?

This is almost a code-review question, but very *nixy and more about configuration than code. For years since I switched to tmux from screen I've had a couple of nagging issues that I could not make ...
4
votes
1answer
145 views

STIG (Security Technical Implementation Guides) automation

Has anyone here found the best way to STIG a version of RHEL 6.x automatically? The other answers I have found are either out of date or do not completely STIG the machine. Even an image that has a ...
1
vote
2answers
117 views

Editing INI-like files with a script

I'm writing a script to automate setting up Puppet agent configuration files in Docker. Basically, I need to ensure that the following section is in /etc/puppet/puppet.conf: [agent] ...
0
votes
1answer
97 views

Equivalent of scp -l bandwidth_cap for .ssh/config?

Short form: You can limit the bandwidth the scp uses with the -l switch, you pass a number that's in kbits/sec. I'd rather set this in my .ssh/config file for certain names machines. What's the ...
1
vote
1answer
76 views

Switch Maven version after installing from jpackage?

I've installed maven3 on CentOS from the JPackage repository. Problem is my installs also seem to have pulled in maven2 which is the default. Is there any way to switch /usr/bin/mvn to be maven3? ...
1
vote
2answers
196 views

How do I determine which configuration options an rpm package is built with?

This is my first question and I'm still pretty new so please forgive me if I've missed or botched something, or if this is an obvious solution. I'm using CentOS 5.8 (yes I know it's ancient) and ...
2
votes
1answer
50 views

CentOS replace config error

I'm currently working on updating our CentOS server, however whenever I'm trying to use yum I get this error. Config Error: Plugin "replace" requires API 2.6. Supported API is 2.5. I'm new to ...
5
votes
1answer
93 views

What is the number prefix in config files from .d directory

A lot of unix config files in xx.d folders are prefixed by a number, like : $ ls /etc/grub.d/ 00_header 10_linux 30_os-prober 40_custom 05_debian_theme 20_linux_xen ...
3
votes
1answer
2k views

nginx server config with multiple locations does not work

I have been trying to get this to work for hours now! I would like to set up a simple web server. My web files shall be in /var/www. I also want to have phpmyadmin. I created a directory ...
3
votes
0answers
160 views

Why does rsyslogd not honor the following lines in rsyslog.d

This is somewhat related to my previous question here. I have three files in /etc/rsyslog.d which is included from /etc/rsyslog.conf: 00-iptables.conf 50-default.conf postfix.conf The first one ...
1
vote
1answer
94 views

How do I tell sendmail to say it's localhost instead of using its FQDN to combat spam?

When I started using sendmail to receive mail for my domain the server's FQDN wasn't set up right so it would appear to be localhost when other MTA connected to it. This seems to work fine. i.e. ...
1
vote
2answers
64 views

Where are the sound level settings for mplayer saved?

This is a followup to Somehow managed to mute mplayer and can't figure out how to restore sound. I've noticed that the sound level settings in mplayer are saved on exit. However, I can't figure out ...
3
votes
1answer
50 views

Possible to source a file in .i3config

I want to extract the default keybindings from my .i3config file and source it from another file I did that like this: #~/.i3config ... #source default keybindings . ~/.path_to_other_file But this ...
2
votes
1answer
76 views

Getting a list of WiFi networks nearby when the adapter is in AP mode

I am trying to get a list of wireless networks nearby while the adapter is acting as an access point but iwlist returns the following error: $ sudo iwlist wlan0 scan wlan0 Interface doesn't ...
1
vote
1answer
151 views

debian7 cron.allow & cron.deny files

Almost 3 weeks that, in my downtime, I try to find out where the files cron.allow & cron.deny are located in debian7 distro. No way, it seems that by default they are not in the system. 'Just' ...
1
vote
0answers
229 views

How do I set my samba share to allow guest users to view all folders and sub folders, including new and old

I currently have a samba share set up on RHEL, that allows any user to write to the root folder. I'm unable to write to the sub folders/files. I have run: chcon -R -t samba_share_t ...
3
votes
3answers
170 views

Compare two kernel config files from the menuconfig perspective?

I have a situation in which i have two kernel config files (for the same kernel source ). Both of them have a part of the functionality that i need (on one, USB works correctly, on other, the second ...
1
vote
2answers
54 views

udev, how to prevent further rules to be run?

Is it possible (and if so how) to tell udev to stop executing further rules for a certain device? I know that there is an order/sequence of rules by the alphabetical naming of the udev files. ...
2
votes
1answer
64 views

What is the difference between all and default in kernel setting? [duplicate]

I want to enable reversed path filtering to prevent source ip spoofing on my server. I noticed that I have the following settings at current: net.ipv4.conf.all.rp_filter = 0 ...
0
votes
0answers
23 views

How to apply Eclipse plugins installed system-wide by package manager without hurting of the user configuration files?

To make the plugins installed system-wide available, I need to re-launch eclipse after deleting the configuration files at ~/.eclipse and I will lost my settings.
2
votes
1answer
17 views

How to call a method of configuring the result of which is active until the first reboot?

For example, you can configure a network interface and other settings from the command line of your terminal. But you can also save the settings to the file /etc/network/interfaces (Debian GNU/Linux) ...
0
votes
0answers
59 views

How can I make a configuration web page for a linux appliances? Any pre made solutions available?

I am putting together a bunch of embeded linux appliances that we will be installing at a few locations. Built the whole thing from scratch using Raspbian (debian based) and Raspberry Pis. There are ...
0
votes
2answers
1k views

Why is Apache running on port 8080 instead on port 80?

I am confused why Apache is not responding on port 80 ... $ wget http://localhost:80 --2014-05-06 15:32:44-- http://localhost/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost ...
0
votes
1answer
107 views

How to make tightvnc listen for incoming connections on port 5900?

I'm running tightvnc on a raspberry pi and looking at the log /root/.vnc/hostname:5900.log I see this line: 30/04/14 09:23:18 Listening for VNC connections on TCP port 11800 How can I change ...
3
votes
0answers
44 views

VPS/Cloud configuration management automatization for small environments [closed]

What would be an appropriate tool/approach for configuration management of a relatively small number of VPS/VMs (1-5). Even though it's a small number I'm a big fan of "nuke 'n boot" in case of any ...
3
votes
1answer
76 views

Is there a standards-specified location for user configuration files?

I'm talking about files like ~/.foo found on a user's home dir. I'm working on a program that reads from such a file, and I'd also like to clean up my user root directory if I can. Is there a ...
0
votes
1answer
54 views

How to select which OS kernel to upgrade when multiple OS'es are installed?

I am trying to upgrade my kernel on a machine with multiple OS'es. I have a Red Hawk OS (a real-time Red Hat variant) and Red Hat installed. I can select which OS to boot into using grub. I'd like to ...
0
votes
3answers
94 views

How to know list of applications installed in my server? [closed]

I got one LINUX server in which Oracle LINUX 5 is installed. I have installed MySQL 5.1.73-community version. Now, I have to configure the variables. When I checked available memory through cat ...
1
vote
2answers
201 views

How I can enable Linux full tickless mode using CONFIG_NO_HZ_FULL?

Where do I enable the CONFIG_NO_HZ_FULL kernel configuration? Is it something I can set in conf files or is it something that has to be enabled when I build the kernel? I am using CentOS with an ...
0
votes
1answer
112 views

Display numbers in meters of htop

My server is running on debian Wheezy and htop 1.0.1 but it does not display any values on the meters bar except the 100.0% value of CPUs. Is it possible to show always the values of a meter? This ...
0
votes
0answers
109 views

MySQL 5.1.73 in Oracle LINUX : Which is the correct mysql configuration file?

I have installed MySQL 5.1.73 manually by RPM on Oracle LINUX 5. When I searched configuration file - my.cnf I run below command and get list of multiple configuration files. $ locate *.cnf ...
0
votes
2answers
61 views

MySQL 5.1.73 - community edition : Where is MySQL configuration file?

I have installed MySQL 5.1.73-community edition in my Oracle LINUX 5 server. I am able to start / stop and execute MySQL commands. But, I am unable to locate the MySQL installation directory as well ...
0
votes
0answers
41 views

Running NFS server as ver 3

As NFS docu stands it is possible to run NFS serwer ver 4 as ver 3 from the boot. Just it is necessery to add such entries in /etc/defaults/nfs file: NFS_SERVER_VERSMAX=3 NFS_SERVER_VERSMIN=3 I ...
3
votes
1answer
67 views

Can one disable tap-to-click in X server configuration without “InputClass” sections?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) I'm interested in a solution ...
3
votes
2answers
2k views

Nginx listens at a port, only responds if set to port 80

OS: Funtoo. I have bound NGINX to port 81 (I want to run it alongside my Apache server for a short time for ease of transition), and it listens at the port (If I point at another port, using wget I ...
3
votes
2answers
327 views

Redhat Linux: How to know my system configuration?

I am using Red Hat Enterprise Linux Server release 5.9 (Tikanga). For installation of any application, it is very important to know the system configuration, is it 32 bit or 64 bit system, Installed ...
2
votes
2answers
802 views

Automate DISA STIG controls for RHEL/CentOS?

I am deploying systems that must be configured using the Red Hat 6 (v1r2) Security Technical Implementation Guide(STIG) published by the Defense Information Systems Agency (DISA). Link to site. I've ...
2
votes
2answers
162 views

Where kernel configuration file is stored?

I currently run Angstrom Linux 2.6.32. I intend to upgrade linux kernel from 2.6.32 to 3.0.7. For this reason, I had to configure kernel 3.0.7 running make menuconfig. Now, I want to compare the new ...
0
votes
1answer
271 views

vsftpd full anonymous access

I'm runnning vsftpd on Raspberry Pi, Debian 7.0. I want to use it to do backups in my Home-LAN only, so security is not an issue (behind NAT/Firewall, only trusted users). I would like full access as ...
0
votes
1answer
156 views

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ ...
1
vote
0answers
68 views

Postfix/devcot MailServer - not receiving emails

I'm new to linux and unix in general, I've worked with a shared hosting provider over the years where everything was setup for me, including email. I'm now trying to create my own mail server in my ...
0
votes
1answer
41 views

Linux Kernel Compile-time options for Seagate IDE drive

I am configuring linux kernel 3.12.14 obtained from linux.org for compiling using 'make gconfig'. My question is what options exactly I need to enable to make it work for my Seagate IDE HDD? I am ...
2
votes
1answer
96 views

Best practices for maintaining error logs (system, device driver & application)

I have many Pandaboards with Ubuntu armhf and one PC server networked with Wi-Fi. On each embedded board I have a real-time application running constantly. I don't know how to reasonably maintain the ...
2
votes
2answers
2k views

My Postfix installation is sending out spam; how to stop it?

Since a few days, my web/mailserver (centos 6.4) is sending out spammails by the bunch, and only stopping the postfix service is putting an end to it. SMPT is set up to only accept connections over ...
2
votes
2answers
1k views

How to show the tree view in left pane of Nautilus?

My question is similar to this one, however the answers provided are not sufficient. I'm a linux occasional user / learner, not having much background to understand what to do reading between the ...
0
votes
1answer
28 views

Weston Global Configuration

I have installed Weston, and I would like to change the keyboard default layout it uses. Is there a global file to do this in? I know I can do it on a per-user base but that seems redundant as ...
0
votes
0answers
53 views

Disable bootlog daemon by kernel configuration instead of editing /etc/default/bootlogd

I asked a similar question How to disable the boot log daemon by editing the init script? But this does not help me because I am unable to retain the changes in any file after I reboot as I asked ...