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

learn more… | top users | synonyms (1)

0
votes
1answer
29 views

ifconfig not showing changed ip address

I'm trying to configure IP settings on my Raspberry Pi running Rasperian. I edited /etc/networks/interfaces to be: auto lo iface lo inet loopback iface eth0 inet static address 110.76.71.106 ...
0
votes
0answers
6 views

OpenVswitch in Linux kernel configuration

There's a kernel configuration variable Open vSwitch (CONFIG_OPENVSWITCH). This enables openVswitch support inside the kernel, but still to use it, we need a userspace daemon. My question is, what ...
2
votes
1answer
6 views

Linux Mint root app theming breaks when changing controls

So, this is a strange occurrence, which seems similar to other questions but which I've not been able to find a reference for. Maybe my Google-Fu is not strong right now. It seems to be a common ...
1
vote
0answers
17 views

Postfix configuration? problem

I try to configure mail server on my VPS. I try this tutorial but unfortunately I cant run it. My configuration files are exact the same I only replaced mydomain.com with my own domain. Also when I ...
2
votes
3answers
43 views

bash: dynamic environment control

I have an application which modifies environment variables. The intent is to launch a bash shell with a modified context-specific environment. When my application modifies the environment, and ...
0
votes
0answers
29 views

Correct way to update config files [closed]

We have an application that we have to frequently re-deploy to installations once it's updated. Often when we do this, the problem arises "Did we add something new to ini file?" "Did we remove some ...
1
vote
1answer
39 views

Which config files in /etc folder must be unique for each computer?

I am doing a restoration test of backup files on a computer. Without putting much thought into it, I did an rsync to replace all files in /etc folder with the ones in the backup. Then, I realize I ...
1
vote
2answers
55 views

crontab error with (No MTA installed) but I use >/dev/null 2>&1

I'm new on linux user I try to run crontab to backup my database with vagrant user * * * * * /usr/bin/mysqldump -h localhost -u root -p root mydb | gzip > /var/backup/all/database_`date ...
2
votes
1answer
44 views

Allowing outgoing emails that will be delivered to localhost only

I operate a Linux system where I give out free Linux shell accounts to people for educational purposes. Unfortunately, while doing so it's expected to meet abusive users who will keep sending spam ...
0
votes
1answer
34 views

Less command change color of “~” and “(END)”?

How do I change the color of the "~" characters that go along the edge of a Less command output. And how to change the color "(END)" at the bottom?
3
votes
3answers
79 views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
1
vote
1answer
48 views

Postfix is sending and receiving mail locally, but not to external mailbox

I have a CentOS box running my Apache website and Postfix, but whenever I try PHP's mail() function to my @aevidi email, it sends to my local mailbox in ~/mail, but is not visible in Zoho's webmail. ...
3
votes
2answers
29 views

Using Linux kernel config file from version to version

I have currently Linux Kernel 2.6, which works for my hardware. Now I want to compile Linux kernel 3.2 for the same hardware. Can I use the same .config of 2.6 directly for v3.2? Is there any ...
0
votes
0answers
18 views

How to receive emails on CentOS 5 server?

I've installed postfix with this nice tutorial http://wiki.centos.org/HowTos/postfix and postfix and dovecot are up and running. I set up user maildir as tutorial suggested. Now I can check my ...
0
votes
0answers
28 views

'xorg.conf' and hybrid graphics

Is there any sane way to be able to configure X server and have working hybrid graphics at the same time? Whenever I add "xorg.conf" X server stops loading driver for second (discrete) GPU. ...
2
votes
0answers
43 views

fail2ban not working

I have several services running on my Ubuntu 12.04 server and set up fail2ban, but it doesn't block the attacking IPs. SSH is running on port 22. jail.conf [DEFAULT] bantime = 600 maxretry = 3 ...
1
vote
1answer
23 views

Why do upgrades to KDM/KDE not preserve changes to configuration files?

The kdebase-workspace package on Arch Linux only preservers changes made to /usr/share/config/kdm/kdmrc when the package is updated. I need to edit /usr/share/config/kdm/Xsetup to get my monitors to ...
9
votes
6answers
1k views

When are spaces around the = sign forbidden?

I know that in ~/.bashrc one must not put spaces around = signs in assignment: $ tail -n2 ~/.bashrc alias a="echo 'You hit a!'" alias b = "echo 'You hit b!'" $ a You hit a! $ b b: command not ...
0
votes
0answers
59 views

How does SMART work for scsi device?

After going through the man pages of smartctl, smartd and smartd.conf, I am no clearer on how S.M.A.R.T. is supposed to work on a scsi device. I have a default configuration file that says: ...
1
vote
2answers
65 views

No eth0 after HD transplant

After moving the hard drive of a makeshift server to another compatible hardware (64-bit, same processor "generation", laptop->desktop) configuration, networking fails to initiate. Specifically: ...
4
votes
2answers
24 views

Use non-root user configuration for root account

When I work with the terminal and use su or sudo to execute a command with the root user's permissions, is it possible to apply the configuration of my "non-root user" (from which I am invoking su or ...
5
votes
2answers
242 views

how to read and modify fstab in python?

I want to automatically configure my fstab in python by running a script. I thought of using ConfigParser in python, but I am unable to use it properly.
1
vote
1answer
23 views

Software firewall with “zone files”

I am using an automatic deployment system for my new Unix deployments. I have a fairly complicated network topology to implement, and I'm looking for firewall software that makes this easy. In ...
1
vote
0answers
71 views

Iinstallation of Kali linux under dual boot in Win-7

I am completely new to Linux and its related distributions and I am trying to install the Kali-Linux in Wind 7 64 bit OS through dual boot option. I have downloaded the kali-64 bit mini.iso and after ...
2
votes
1answer
31 views

X has blank screen but clearly runs

At my last reboot X started but blacked the screen. When logging into the system remotely all processes seem to be running just fine (e.g. Firefox is automatically started), so X is clearly running, ...
5
votes
2answers
40 views

How to tidy up the .keywords file on a gentoo system?

One can select testing packages on a gentoo stable system by adding a line with the following syntax to keywords list: cat /etc/portage/package.keywords =dev-python/ipython-0.13.2 ~amd64 # and many ...
1
vote
0answers
27 views

What config changes are being tracked by aureport?

I am interested in using aureport to audit my server. When I run: # aureport -c It gives the following output: =================================== # date time type auid success event ...
1
vote
1answer
23 views

How to replicate basic configuration tasks? [duplicate]

(This might be off-topic and/or not answerable, but I want to ask anyway.) Recently, I am managing a lot of VPS server with Linux for my personal and professional projects. However, I am kind of ...
0
votes
1answer
14 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
163 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
38 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
38 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
60 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
167 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
76 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
82 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
42 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
109 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
54 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
102 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
87 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
74 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
57 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
142 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
47 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
89 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
859 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
101 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
74 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
60 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 ...