Questions tagged [defaults]
The defaults tag has no usage guidance.
59
questions
1
vote
0
answers
523
views
Can I make TCP_NODELAY a default setting for all connections on a GNU/Linux system?
This article:
It’s always TCP_NODELAY. Every damn time.
suggests, as a bottom line, to set TCP_NODELAY by default, always. Can I do that on a (recent) GNU/Linux system...
As root, for all sockets ...
1
vote
3
answers
838
views
Can I rely on `curl` being installed on Debian/Ubuntu? How could I find out?
Is curl installed by default on Debian & Ubuntu (in 2024)? How could I answer this question myself?
I am writing the install instructions for software, part of which requires running a script that ...
-1
votes
2
answers
101
views
How to Return the SQL_DB log files (.ldf) to the default Application
I have tried to open a "log" file of SQL DB with Windows Notepad application. Unfortunately, I forgot to remove the tick from the checkbox of “Always use the selected program to open this ...
1
vote
0
answers
206
views
Set Independent Default Print Settings for Different Users
Problem: Our network deployed printers are set to default to print in black & white for cost savings. A few users want to print in color all the time, and are very annoyed at having to manually ...
1
vote
1
answer
519
views
How do you change the application path of an "Open with" application
I have a custom file type, for example ".xyz" and I have a portable type application that can open that custom file type. I set up the portable application as the default application for ...
0
votes
1
answer
262
views
Apache2 Default HTTPS 443 Vhost
I'm currently trying to make a default vhost for HTTPS to block traffic from unauthorized domains. However, when I define a default 443 vhost, ALL other HTTPS vhosts inherit this as well and prevents ...
0
votes
0
answers
37
views
Is it possible to configure default email filters for users?
We have about 500 students and 50 personel. We use Outlook email.
Students and personel have different domains. Students' domain contains "edu." but personels domain doesn't.
Is it possible ...
0
votes
1
answer
2k
views
Setup A Default Redirect In Nginx
I need a way to redirect clients when no existing path is defined. When I put a return 301 config in, nginx seems to ignore any location configs. It redirects everything.
The hostname in the ...
0
votes
1
answer
6k
views
Correct default SSL config on apache
I have a number of virtuals hosts serving sites from apache. Each site has it's own config file and many have SSL certificates setup.
00_default.conf file <VirtualHost *:80> points to a static ...
1
vote
1
answer
482
views
SPF default policy when "all" is missing
What is the policy that is applied when "all" is missing from an SPF record? For example as in v=spf1 a ip4:198.51.100.15.
0
votes
1
answer
4k
views
Set Adobe as default program via Group Policy?
My question is about default program via Group Policy. Basically what i need is - set Adobe as default windows PDF reader via Group Policy. I have been trying to do this for a while now, but haven't ...
1
vote
3
answers
13k
views
How do I make my default GW route permanently on Linux Ubuntu?
I have 2 EC2 instances that run Ubuntu (VM1: 172.0.1.11 and VM2: 172.2.1.12).
I want to make a default Gateway to my Routers R1which its addresses are the following respectively 172.0.1.8and 172.2.1....
5
votes
2
answers
4k
views
How to change default zfs options of a zpool?
How do I change the default options for zfs filesystems on an existing zpool?
That is, ZFS stored for each zpool pool the default values for new zfs filesystems. Those are then used by zfs create as ...
0
votes
1
answer
535
views
phpinfo shows difference between Local and Master Values of default_charset
Here us there is a difference in the local default_charset than the master's. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is ...
0
votes
1
answer
320
views
domain default IP for use with reverse proxy
I have a registered domain with my name.
I want to have multiple servers, with different names, hosted on the same physical host.
This is easy to do using reverse proxy (I am currently using nginx).
...
0
votes
1
answer
1k
views
Is there an Nginx command to using the default conf?
To use the Nginx default conf (sites-available/default) one needs to uncomment all relevant lines in that file.
To avoid manual uncommenting each time I install a new server environment on a new ...
3
votes
1
answer
5k
views
Installed Mysql on Debian, but got another database On Debian (MariaDB)
I used the same setup for Nginx server environment for Ubuntu 16.04 on Debian 9.3 but on Debian my database is MariaDB instead Mysql.
apt-get install nginx python-certbot-nginx mysql-server php-fpm ...
2
votes
3
answers
4k
views
Can I define global default values for the tasks of an Ansible module?
I find myself repeatedly typing arguments to file-related modules of Ansible like this:
- copy:
[…]
owner: root
group: root
mode: ugo=r
Though it may seem safe to assume that ...
0
votes
1
answer
2k
views
Is there anything special about the 10.42.*.* subnet?
A client I work for chose a 10.42.*.* subnet for some of their cloud work.
Here we see a ubuntu service starting on the 10.42.*.* subnet. Here is another.
Here we see the Docker scheduler Rancher ...
4
votes
2
answers
4k
views
Print the BIND9 default configuration
Postfix has the command postconf which prints the entire Postfix configuration including its default values (default can also be shown using the -d option).
Samba has a similar command which prints ...
0
votes
1
answer
2k
views
Change default hyper v machine creation settings
I need to constantly create machines in hyper-v, but i am wasting to much time configuring settings like network adapters to with they connect, assigned CPU cores and ram in every single machine that ...
-1
votes
1
answer
1k
views
Apache serving when 000-default.conf is disabled
Apache is still serving from 000-default even after I removed from site-enabled using
a2dissite 000-default.conf
My apache version is 2.4.7 and I am running ubuntu. Apache is still behaving the same ...
9
votes
1
answer
2k
views
Where does finger connect to by default?
Within our corporate network, when I run finger (no arguments) from a client machine, I am presented a list of users with names and the like. But when I run finger @localhost I get "Connection refused"...
49
votes
3
answers
49k
views
How to show the host/configured/default ssh "configuration"?
According to my ssh_config file...
Configuration data is parsed as follows:
command line options
user-specific file
system-wide file
With that said, (and yes, I know, I could scour man ssh_config ...
1
vote
0
answers
143
views
What is the resolved default location mongod.exe looks for the configuration in?
Trying to do a minimal configuration of mongod, and I would like to use the 'natural' pathing structure for the location of the config file.
To give an example on what I am looking for, here are the ...
0
votes
1
answer
1k
views
how to "reset" the whole /etc/apache2/ to factory defaults in SLES 11?
i got a SLES 11 sp3 Server where the whole /etc/apache2 seems to be messed up. If like to reset the whole thing to what i call "SuSE's factory defaults" so i can start over.
Any quick tip ?
1
vote
1
answer
222
views
Is there a Salt-equivalent to Puppet's Resource Default Statements?
With Puppet you can set Resource Default Statments:
File {
backup => '.puppet-bak',
ensure => present,
group => 'root',
mode => '644',
owner => 'root',
}
and if I later ...
11
votes
3
answers
5k
views
Setting default nice value for a program on linux
Strange as it seems, I can't find information how I can set a default nice value for a program (not for a user or a group!). I would like to start all chrome and firefox instances with a nice value of ...
2
votes
1
answer
755
views
Default user for MySQL [duplicate]
With a fresh (but old) install of Ubuntu and MySQL, I found I could access the MySQL via command line client without being asked for any user or password.
Logging in as root requires the root ...
0
votes
1
answer
1k
views
Puppet variables, defaults, merging and a template
During the task of writing a module, I found out that I have a huge amount of configurable parts. To better organize the module (for the sake of read- and maintainability), I have chosen to split ...
1
vote
0
answers
2k
views
Server 2012 Remote Desktop Services, Foxit Reader as default
I have a Server 2012 RDS server I'm setting up. I have installed Foxit Reader. I then went to the registry and set the value of HKLM\Software\Classes\ .pdf to FoxitReader.Document. I also set up a ...
6
votes
2
answers
13k
views
Can rpcbind packagebe removed in debian wheezy, installed by default?
After installing new debian server, i made intense scan on it to check that it does not have redudant software/open ports.
I found that port 111 is used via rpcbind daemon (debian wheezy installs ...
0
votes
1
answer
2k
views
Windows 8 Workstations Default Programs
I'm trying to set up default programs for all windows 8 workstations, UAC is disabled via GPO and hence the default programs for opening pdf files, mp3s etc default to the metro apps.
This results in ...
2
votes
1
answer
2k
views
Is SSLv2 disabled on Windows Server 2008 by default
A question has come in about the need to turn off SSLv2 and stop ciphers below 128.
We currently run windows server 2003 so know about the fiddle with the registry to fix that.
We are looking at ...
16
votes
3
answers
36k
views
Good default for XDG_RUNTIME_DIR?
The XDG Base Directory Specification is a very interesting spec for user directories. It also provides good default values, except for XDG_RUNTIME_DIR.
Now I am writing a software that needs to ...
4
votes
1
answer
2k
views
How can I find the original un-changed configuration file to compare with the *.rpmnew file?
While upgrading from CentOS 5.7 to 5.8 I've received the following warnings:
warning: /etc/sysconfig/iptables-config created as /etc/sysconfig/iptables-config.rpmnew
warning: /etc/ssh/sshd_config ...
272
votes
5
answers
221k
views
Why does my hostname appear with the address 127.0.1.1 rather than 127.0.0.1 in /etc/hosts?
This may be a bit of a noobish question, but I was taking a look at /etc/hosts on my new Xubuntu install and saw this:
127.0.0.1 localhost
127.0.1.1 myhostname
On most 'nixes I've used, the second ...
0
votes
2
answers
96
views
How to change default settings of linksys or other router? [closed]
The problem is that after power outage the router sometimes loses its configuration. Is there a way to store settings so they will survive any power outage? Or do you know any routers that by default ...
10
votes
2
answers
14k
views
Can I deny "Internet Explorer" via GPO and use Google Chrome as a default and the only Browser?
Can I deny "Internet Explorer" via GPO and use Google Chrome as a default and the only Browser?
I wonder as Internet Explorer is a part of an Windows operating system, if it's possible to deny it.
...
2
votes
7
answers
17k
views
Mass change of default printer settings
On our Server 2008 R2 Print server we have ~30 HP Printers (Some CM3530s, M4345s and CP3525s) and I have been asked to convert all the print double sided and, for the colour printers, greyscale. Is ...
0
votes
2
answers
797
views
Setting defaults in sudoers
I'm trying to set the Defaults in an appropriate way for the pdebuild usage.
I've got the command alias defined:
Cmnd_Alias PBUILDER = /usr/sbin/pbuilder, /usr/bin/pdebuild, /usr/bin/debuild-...
0
votes
1
answer
771
views
How to change grub defaults?
I've got Ubuntu 10.04 and Grub 0.97, I've created /etc/default/grub (according to example in menu.lst):
defoptions=
howmany=all
But every-time when update-grub is executed quite splash is appended ...
2
votes
3
answers
527
views
where does https on apache get it's configuration?
So originally my host (mediatemple dv) has two default directories for the roots:
1)httpdocs/
2)httpsdocs/
In the conf directory I changed the vhosts.conf and httpd.include and others to change from ...
0
votes
1
answer
182
views
So it's the first virtual host that will apply when no ServerName is actually matched in apache?
This is what I just found by test,
but I don't see any such information on default behavior of apache's virtual host.
Can someone confirm or deny this?
2
votes
1
answer
1k
views
How to set Firefox and Thunderbird as default browser and mail client through script
Which are the registry settings to set Firefox an Thunderbird as defaults?
It can be done with any script or little program or firefox/thunderbird command line?
The target is do it for all the ...
3
votes
2
answers
2k
views
IIS Default Website for Domains that have not been setup
Let me preface this with the fact that I know very little about IIS.
I have several websites on my server (Windows 2003 IIS)
I have domains that I haven't setup in IIS yet that point to my IPAddress....
1
vote
2
answers
239
views
Default all php generated and apache served pages not to cache
I have a small Xampp server that I use for coding and prototyping of php sites. Every time I refresh a page I typically have made adjustments to the code of the page in the last few seconds. There ...
0
votes
2
answers
10k
views
how to change Mysql packet size?
I am using windows server 2003, using iis6.
How to change the mysql packet size?? I cant find any my.cnf files in my server. Please help
I tried to copy and paste from mysql sample file, when i ...
5
votes
6
answers
13k
views
How to disable the visual bell in Xterm
I am getting really nervous when I press 'Tab' twice and screen is blinking (goes to opposite color and returns back).
I tried to change the setting in .Xdefaults file with:
XTerm*visualBell: ...
1
vote
1
answer
236
views
Does c-referrer always start with "/"? Could anything else start with "/"?
I'm writing a program that deals with server generated logs. I need to catch the c-referrer and the uri-stem, regardless of what else is being logged or not and regardless of what log format is used. ...