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

learn more… | top users | synonyms (1)

3
votes
1answer
4k 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 ...
1
vote
1answer
48 views

“attempt to invoke directory '/srv/http' as script” error with “SetHandler application/x-httpd-php” enabled in apache config on archlinux

when I try to list directories through Options Indexes-option with SetHandler application/x-httpd-php enabled in my apache-config I get a attempt to invoke directory '/srv/http' as script error ...
0
votes
1answer
30 views

Configuring simple service with systemd

We are using Bamboo server for continues integration with remote agents which are building our projects. These agent can be started up with a simple shell script (which works fine). But I thought I ...
0
votes
1answer
29 views

Apache2.4- how to serve file as html

I have an apache2.4 server. On some page, I have a link to a log file. I would like to show the file content in a browser when the link is clicked, rather that serving the file do download.
0
votes
2answers
2k views

Apache won't restart after configuring Virtual Hosts

I am trying to make a web server, but after adding the virtual hosts config, apache won't restart. It had several errors but I've managed to fix most of them. Now I don't know what is happening ...
1
vote
1answer
168 views

Problem making a virtual host with Apache

Once I tried to make a virtual host, and the problem was that if I make another file in /etc/apache2/sites-available/ that says ... DocumentRoot /var/www/newsite ServerName newsite ... Then save ...
1
vote
2answers
163 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 ...
1
vote
1answer
37 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
1
vote
1answer
84 views

openssl does not load engine from config file

I'm using openssl-1.0.1f. And I'm trying to load the pkcs11 engine in the config file, but it doesn't work. Here is my config: openssl_conf = openssl_def [openssl_def] engines = engine_section [...
4
votes
3answers
10k views

CentOS 7 - Rename network interface without rebooting

I'm renaming network interfaces by modifying the files in /etc/sysconfig/network-scripts. eth0 -> nic0 eth1 -> nic1 The content of the network scripts looks like this, after modification: # cat /...
1
vote
1answer
18 views

“autostart” from screenrc

How can I start some command for certain tabs in screen automatically? I've tried using command directly (screen mc) but it seem to load with broken environment or terminal profile. I've also tried ...
0
votes
1answer
93 views

Incorrect Directory Index

I am attempting to load as the default DirectoryIndex home.html, but the site keeps jumping to index.php. Website is built on WordPress. httpd.conf DirectoryIndex index.html home.html index.php ...
0
votes
0answers
415 views

How to edit the “Internal Server Error” without redirecting to somewhere else?

On the web this is what I see: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, ...
6
votes
6answers
376 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
1answer
998 views

How to rewrite all subdomains except one

Right now my rewrite rule forwards all subdomains except chat.auricle.fm to the root: RewriteEngine on RewriteCond %{HTTP_HOST} ^.*\.auricle\.fm [NC] RewriteRule ^(.*)$ http://auricle.fm/$1 [L,R=301] ...
6
votes
1answer
6k views

How to setup PPPoE with OpenWrt

Probably this is a simple question, but I can't find an answer... I have an ADSL router (Dlink DSL-524T) which runs OpenWrt Backfire 10.03.1. It connects to the internet using PPPoA: this is my /etc/...
3
votes
2answers
2k 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 ...
0
votes
1answer
795 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: ...
0
votes
0answers
19 views

PAM: make dbus listen to some address

I'm new with PAM and have some questions about it. Is possible to make PAM configure dbus, and make dbus listen to some address?
4
votes
1answer
897 views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
1
vote
2answers
1k 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. ...
1
vote
0answers
124 views

prefork doesn't appear to be listening to MaxClients in config file

Apologies in advance if this is a stupid question, I'm new to all of this! I have prefork installed on a ubuntu server which I confirmed by running aptitude search apache2-mpm- Which gave me p ...
2
votes
2answers
837 views

Why should you not edit the .config kernel configuration file?

# Automatically generated file; DO NOT EDIT Is at the header of the kernel configuration file: /usr/src/linux/.config My question is why shouldn't you edit this file? If I know exactly what I need, ...
1
vote
0answers
17 views

/etc/sysctl.conf abstraction for custom usage

Is there an abstraction model for configuration files like /etc/sysctl.conf ? I find it great for a few reasons, it's humanly readable, has nestable namespaces, hierachy of settings instead of one-...
5
votes
2answers
190 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, ...
4
votes
0answers
56 views

Can I change the X rotate the xf86-video-fbdev during execution?

Below is my /etc/X11/xorg.conf.d/1-fbdev.conf. /etc/X11/xorg.conf.d/1-fbdev.conf Section "Device" Identifier "LCD" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "Rotate" "UD" EndSection ...
2
votes
2answers
38 views

How to quickly setup my home directory on a new linux machine?

If I have settings that I like to use on a linux machine that I've never been on before, how do I set them up quickly? I already have a .vimrc, and tmux, is there a way to cart these things around ...
0
votes
1answer
560 views

Eclipse HHVM/XDebug connection stuck at 78%: “Waiting for XDebug session…”

I've setup a LEMH stack for development purposes in a LXD container, configured as described in this answer with sockets for HHVM. (Huge thanks to @mef for both) And the configuration worked (and ...
3
votes
1answer
24 views

handling multiple window managers, multiple .xsessionrc files?

I have just installed xmonad on my laptop with Debian jessie, and like it so far... I have previously used the default gnome-shell desktop (/window?) -manager, and still want to keep it 100% intact ...
3
votes
1answer
32 views

Wrong site appears in Nginx

I have a Debian Linux server with nginx configured for several sites (/etc/nginx/sites-enabled), every site showing on its own domain. Now when I remove a site from /etc/nginx/sites-enabled, querying ...
0
votes
1answer
38 views

How to turn off stack protector in linux kernel easily? [duplicate]

I wrote a simple module for the Linux Kernel and it has a stack buffer overflow vulnerability. I want to exploit the module, but I have to turn off the stack protector in the kernel first. How could I ...
3
votes
2answers
99 views

Apache : Close entire site to public but display a custom page

Suppose I do not want to delete any files or anything from my web site, but I want to close everything to the public. They simply need to see a custom page. How can one go about this via httpd.conf ...
1
vote
1answer
27 views

Custom font with dmenu_run in i3

I am trying to change the font of dmenu. I am running the i3 window manager. $ dmenu_run -v /bin/bash: line 1: dmenu-4.5,: command not found $ dmenu_run -fn "-xos4-terminus-medium-r-*-*-14-*" ...
-1
votes
0answers
21 views

Loading configuration via putty

I have a NVR hybrid system that runs off of linux. Is there a way I could load a configuration file into this NVR via putty? Basically the file would be a snapshot of a finished NVR with the ntp set ...
1
vote
0answers
20 views

Push same webserver config to multiple front ends

We are using a load balancer for our web servers (3 debian clones). I was wondering if it was possible to push the same config onto the three web servers and restart each instance all in one shot so ...
-1
votes
0answers
18 views

Joining Zentyal server to an existing domain

i'm Joining Zentyal server to an existing domain. i just raised the forest functional level of my Server 2003 and set a correct NTP server in all the machines. now i try to configure the additional ...
1
vote
1answer
17 views

Can not succeed in excluding user in match directive in SSHD config

I’m having a problem with my sshd config. I want to limit all users of the group www-user to sftp use. All of them but the user yorunokoe. I saw that related question : How to exclude from a "...
1
vote
0answers
28 views

How to configure apache with suPHP and VirtualHosts to avoid DocumentRoot problem?

I am currently configuring an apache web server, and have Apache 2.2 with SSL, svn at https://myhost/svn/repos/myrepo1 and https://myhost/awebsite with suPHP ready. https://myotherhost/ also exists ...
1
vote
1answer
2k views

vsftpd: virtual user not able to upload file or create directory

I created 2 virtual users for ftp (vsftpd): bholu1 and bholu2 I wanted bholu1 to have write access, access to make directory and upload permission. For that I have set up the user bholu1 as below but ...
0
votes
1answer
32 views

Make Guake Float in i3wm

I want to default Guake to open as a floating window under i3. I created an entry under ~/.i3/config that reads as the following. My code is - for_window [class="guake"] floating enable My xprop ...
0
votes
0answers
28 views

Generic multiple monitor layout on RHEL/CENTOS 7

By default, RHEL7 seems to think multiple monitors are next to each other. I need to have them vertically spanned instead of horizontal. I found that modifying xorg.conf or xorg.conf.nvidia to set ...
4
votes
2answers
26 views

Is there a way to determine compile-time state of a kernel flag from a running system?

I have a running kernel and I'm trying to determine whether it was compiled with support for BTRFS extended attributes. Is there a way to determine a running kernel's compile flags?
3
votes
4answers
129 views

Where should I save color codes for the PS1 command line / terminal? [closed]

This question is about best practices. I know logging in over secure shell or switching users su, and su -l have different effects. Also, in the event you make a typo in the configuration, you still ...
6
votes
3answers
10k views

Configuring mouse for right+left button simulating middle click (for copy/paste)

I was using the mouse copy-paste extensively, until recently, when some OpenSuSe upgrade reconfigured this on all my machines. Now the scrollbuton is the one to paste (which I hate, since it's hard to ...
4
votes
1answer
3k 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
3answers
11k 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 +%Y-%m-%...
1
vote
0answers
24 views

Postfix mailbox_transport and mailbox_command

I have Postfix set up in main.cf to use mailbox_transport=lmtp:unix:private/dovecot-lmtp as LDA, which works fine. I also need to enable mailbox_command in order to pass internal sanity checks as ...
-1
votes
2answers
3k views

SMTP issues - unable to connect : CentOS 6.5, Postfix, Dovecot, MySQL

I'm trying to setup an email server on a CentOS system with Postfix, Dovecot and MySQL. I'm following this article for an Ubuntu system: https://library.linode.com/email/postfix/postfix2.9.6-...
0
votes
1answer
1k views

arch linux apache start at boot crash

I have Raspberry Pi B+ with Arch Linux installed and at boot time, apache web server does not start: [xxx@rpi ~]# systemctl status -l httpd * httpd.service - Apache Web Server Loaded: loaded (/usr/...
2
votes
1answer
3k views

How to fix make error “No rule to make target 'menuconfig'” when building a kernel for Beagleboard?

The aim is to build and install the USB Video Class (UVC) module, via make modules_install. I'm trying to configure the kernel via make menuconfig on Angstrom distribution, running on BeagleBoard-xM. ...