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

learn more… | top users | synonyms (1)

77
votes
4answers
79k views

What do the options `ServerAliveInterval` and `ClientAliveInterval` in sshd_config do, precisely?

I found this question, but I'm sorry I don't quite understand the settings on the two variables ServerAliveInterval and ClientAliveInterval mentioned in the accepted response. If my local server is ...
23
votes
2answers
3k views

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?

I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
16
votes
4answers
33k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
7
votes
2answers
47k views

Setup static IP in redhat 6

I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac) 192.168.0.5 ...
9
votes
2answers
336 views

best way to set up separate linux environment in ~

I do most of my work (involves a lot of C/Python) on a development server that is shared with several other people. As a result we all seem to do a bit of the system administration chores (there is ...
3
votes
1answer
894 views

What's the conf file reading between login and non-login shell?

I found that those are .bash_profile, .bashrc, .bash_login, .profile. What's the reading sequence between them?
3
votes
1answer
3k views

change colour depth

How do I change the colour depth? It says online to edit the xorg.conf file, but I don't have that. I am running Debian XFCE on a Powerbook G4
27
votes
4answers
16k views

How to properly and easy configure `xdg-open` without any enviroment?

I'm using OpenBox window manager without any desktop enviroment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser ...
6
votes
4answers
31k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
12
votes
3answers
3k views

Yanking URLs in w3m

I have been using w3m for a couple of weeks and am convinced that it is my preferred text browser - with one exception. Is there any way to yank URLs to the clipboard without using the mouse? I have ...
4
votes
6answers
389 views

What I can I do to make the transition to some new computer hardware safe and smooth?

I normally use machine A, and I make backups of A onto a fileserver B. Sooner or later, I will lose machine A for one reason or another. Its hard drive wears out, or it gets hit by lightening, or some ...
4
votes
4answers
6k views

How to make an Ubuntu time zone change stick?

I'd like to reset the timezone through editing /etc/timezone. However, after I was done editing and saved the file, the system time did not change accordingly. On the other hand, when I take ...
3
votes
1answer
297 views

Set up network to share a printer connected to one particular machine on the network

How do I set up my Ubuntu machine to allow other computers to print to it? The set up is: All computers are connected to the network 1 dual Ubuntu/Windows 7 netbook 1 multibooting ...
1
vote
2answers
232 views

Where can I find the kernel configuration on each Linux distribution?

I'm pretty sure that all Red Hat and Debian based distributions follow the convention of shipping the kernel configuration in /boot/config-*, but what of other distributions? Or, if this convention ...
3
votes
2answers
7k views

Which version of NFS is my NFS server using?

I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client ...
2
votes
2answers
7k views

not able to create xorg.conf file

I want to change my colour depth. I posted this, and got the following answer: Create an xorg.conf file by running Xorg -configure. Then edit the Depth entry in the Display subsection of the ...
1
vote
1answer
1k views

How do I configure UNIX socket in nginx/HHVM?

So far this is what I've done: $ less /etc/nginx/hhvm.conf location ~ \.(hh|php)$ { fastcgi_pass unix:/var/run/hhvm/sock; include fastcgi_params; } $ less /etc/hhvm/server.ini ; php ...
14
votes
4answers
35k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
12
votes
4answers
3k views

How can I bind multiple tmux commands to one keystroke?

Specifically I'm trying to give a notification after some command was completed. So, for example, if I reload my configuration file, I'd like to have some confirmation that it worked, which might be ...
6
votes
2answers
5k views

Change default applications used by gnome-open, exo-open, xdg-open, gvfs-open and kde-open

How to change the applications associated with certain file-types for gnome-open, exo-open, xdg-open, gvfs-open and kde-open? Is there a way by editing config files or by a command-line command? Is ...
4
votes
1answer
155 views

Degraded areas of some user interfaces, including pixellated or jagged fonts

For me the symptoms were first observed with PC-BSD 11.0-CURRENT. The first of my 2016 screenshots (below) is similar to the 2012 shot in Debian-related Fonts of some applications get confused so, ...
8
votes
2answers
4k views

escape characters in /etc/network/interfaces

I want to be sure that whatever string I pass into the line wpa-ssid "abc" in /etc/network/interfaces won't be used to break out of the configuration. All I can find in the manual is that \ can be ...
6
votes
2answers
1k views

Static IP for 2 PCs on crossover cable in interfaces(5) file?

I've got 2 PCs connected on an Ethernet crossover cable. On PC1 I run: sudo ip addr add 192.168.2.1 peer 192.168.2.2 dev eth0 sudo ip link set dev eth0 up On PC2 I run: sudo ip addr add ...
6
votes
3answers
217 views

Managing multiple configurations (/etc) - With a VCS?

I have a machine that needs to have two configurations that I need to maintain (the machine is occasionally moved between two environments and has different roles in each environment). Note: This is ...
2
votes
3answers
2k views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
13
votes
1answer
2k views

gvim -p limit of opened tabs?

When I run : gvim -p *.xyz I find that not all files are opened in tabs. It feels, like a kind of tab limit? But ! When I try to open unopened with : :tabnew it is opened next to previous ...
4
votes
1answer
210 views

Large zone file for bind9 : ad-blocking

I was successfully using a small (20,000 entries) zone file with bind9 server, but today my data provider sent an update which caused the zone file to become 300,000+ entries large (30Mb+). The ...
4
votes
1answer
254 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
0answers
251 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 ...
2
votes
1answer
998 views

Can one disable tap-to-click in X server configuration, without synclient?

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.) The most popular advice I ...
1
vote
0answers
23 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but ...
0
votes
1answer
2k views

Why my dconf-editor has fewer options in Elementary OS Luna than supposed to?

I am giving Elementary OS a try but trying to configure it a bit I see lesser options than supposed in dconf-editor. Following this source, they should look like this: Mine look like this: So, I ...
9
votes
6answers
21k 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 ...
6
votes
7answers
4k views

How do I configure mutt to display the date header in my local time zone in the pager?

When I view a message in the pager mutt displays the time in the Date header in UTC rather than my local time zone. The index view displays the local time correctly. I found this old mailing list post ...
5
votes
2answers
3k views

How can I save the Xterm configuration I set at runtime?

I configured my xterm using the CTRL-MiddleClick and CTRL-RightClick. Is there a way to export save these settings?
4
votes
3answers
16k views

vsftpd does not list content of a directory

I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
3
votes
2answers
532 views

How to disable Xorg right click emulation at runtime

I have a computer (in fact, a Banana Pi Pro) with a touchscreen which I have configured to emulate the right click via xorg.conf: Section "InputClass" Identifier "Touchscreen" Option ...
1
vote
0answers
21 views

Configuring a system to run PulseAudio automatically on top of JACK

This is essentially the same as the Ask Ubuntu question How to use JACK and Pulseaudio/ALSA at the same time on the same audio device?. However, the answers to that question are all incomplete in at ...
1
vote
1answer
36 views

What directory does etckeeper store its permissions / metadata in?

In what directory does etckeeper store its metadata and permissions in? I want to know for purposes of testing the restoration of a configuration.
1
vote
1answer
241 views

nginx/HHVM 404, fixed replacing $document_root with absolute path, but redirect adds path to URL

I've had the same issue as described in this question, and the solution of replacing $document_root with it's absolute path worked until redirects added the absolute path to the URL, as in: EXPECTED ...
1
vote
0answers
48 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
0
votes
0answers
614 views

Kali 1.3 - Installing Parallel Tools

I am running Kali 1.1 on Parallels 9 for Mac and am having some irritating issues. Firstly, the WiFi doesn't work (normal for use within a virtual machine, but also isn't working with my external ...
0
votes
1answer
8k views

How to configure FOSS ATI drivers on Debian Wheezy and ATI RS880 [Radeon HD 4250]?

Installed a fresh Debian Wheezy to enjoy Gnome 3 but it starts in fallback mode. I suppose that's because the loaded drivers do not support 3D acceleration. Installed packages I know are relevant: ...