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

learn more… | top users | synonyms (1)

1
vote
1answer
71 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
4answers
2k 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
838 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. ...
4
votes
2answers
41 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
34 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
125 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
298 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
71 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
131 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
222 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
56 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
339 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
28 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
191 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
115 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
3answers
77 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
57 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
26 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
30 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
828 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
82 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
245 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
140 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
548 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
219 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
415 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
69 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
419 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
76 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
466 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
325 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
353 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
170 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? ...
2
votes
2answers
632 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
64 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
119 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
2answers
5k 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
475 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
187 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
73 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
91 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
221 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
474 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' ...
0
votes
0answers
183 views

Teach tripwire or AIDE about renamed files

In my /etc directory there is something I do with files. Let us say that I am looking at /etc/passwd. What I do when it will be modified is to copy it over, in the following sense. I have a hierarchy ...
1
vote
0answers
574 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
455 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
78 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
175 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
49 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.