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

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

kernel config with strange dependancies

I am trying to build the Android Linux kernel from source following this README. The instructions very clearly state: 1.1 Required enabled config options: After building a standard defconfig, ...
1
vote
1answer
629 views

Can't install graphics driver on Wheezy - Using Inspiron 3537

I've recently installed Debian Wheezy 7.5 and dual booted it with Ubuntu 14.04. I've installed all of the drivers except the graphics driver which I've been trying to install for a couple of days. ...
0
votes
0answers
62 views

Understanding Mixing of sounds in ALSA

I can't seem to bend ALSA completely to my will, even after I spent a lot of time configuring it. I just do not seem to understand it well enough. Here is my /etc/asound.conf: pcm.dmixed { ...
2
votes
1answer
92 views

vim: hide status line in the bottom

Sometimes I work with really small terminal windows and need every piece of space available. So I want to hide the vim status line. I already set laststatus=0 this hides one of the status lines. But ...
2
votes
2answers
100 views

Editing nsswitch.conf file safely

What's the best way to edit the /etc/nsswitch.conf file other than just using sed -i to edit it in place or overwrite it in total. For our build we need to make changes to this file without ...
5
votes
1answer
333 views

What values from debconf-get-selections should not be preseeded?

I want to replicate the Debian installation choices made for my system's current configuration in the installation of a new system. Debian can be pre-configured through a "pre-configuration" (aka ...
2
votes
1answer
162 views

Sendmail not masquerading email “Received:” headers

I followed the instructions from NixCraft site and try to masquerade my emails with the following configuration: MASQUERADE_AS(example.com)dnl FEATURE(masquerade_envelope)dnl ...
1
vote
1answer
225 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
49 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
230 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
66 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
219 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
169 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
150 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
110 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
295 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
57 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
108 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
3k 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
267 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
117 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
66 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
61 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
106 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
239 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
405 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 ...
4
votes
3answers
252 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
62 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
88 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
35 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
19 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
64 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
2k 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
145 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
48 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
77 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
63 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
123 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
233 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
138 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
133 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
71 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
48 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
81 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 ...
4
votes
2answers
3k 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
403 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
1k 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
244 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
511 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
201 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/ ...