Questions tagged [defaults]

53 questions
3
votes
5 answers

What are the most useful "defaults"?

Mac OS X has a commandline tool called "defaults". It lets you set certain properties, for example: enable the "Debug" menu in Safari: defaults write com.apple.Safari IncludeDebugMenu 1 What is the most useful "hidden" "defaults write ..." command…
Kris
  • 101
  • 2
  • 3
3
votes
2 answers

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. When you try to go to these sites they redirect…
Jason
  • 279
  • 2
  • 10
2
votes
1 answer

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 php-mysql -y I understand that's the default…
Arcticooling
  • 119
  • 1
  • 14
2
votes
1 answer

Default user for MySQL

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 password. But logging in without specifying the user (ie,…
Stewart
  • 203
  • 3
  • 11
2
votes
1 answer

How do I enable W3C extended logging on Apache (LAMP or XAMPP)?

How can I enable W3C extended log format on LAMP and where will the default log directory be located (and named what)? (or XAMPP)
nona urbiz
  • 187
  • 1
  • 1
  • 11
2
votes
2 answers

What do I have to configure on my server to increase security from default?

I am setting up a Windows 2003 machine to host a website, are there any settings that I should pay special attention to in regards to security? In other words, is there dangerous default setting I should know about?
juan
  • 373
  • 1
  • 8
  • 12
2
votes
1 answer

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 upgrading / moving our services to Windows Server…
2
votes
6 answers

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 there a powershell script or cmd-line trickery or…
tombull89
  • 2,958
  • 8
  • 39
  • 52
2
votes
3 answers

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 httpdocs to custom folders. Now I installed a new…
Matthew
  • 1,769
  • 4
  • 21
  • 32
2
votes
1 answer

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 users on a computer not just the current.
FerranB
  • 1,362
  • 2
  • 18
  • 28
1
vote
3 answers

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 omitting these arguments for ownership would result the…
funky-future
  • 187
  • 10
1
vote
2 answers

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 is no reason for any of the content that comes…
Tvanover
  • 257
  • 1
  • 3
  • 12
1
vote
0 answers

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 equivalent paths for some other popular…
Kraang Prime
  • 195
  • 1
  • 1
  • 10
1
vote
1 answer

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 have a file such as this it will inherit the default settings…
Chris Tonkinson
  • 465
  • 2
  • 6
  • 18
1
vote
1 answer

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. I've found this link, WC3 Extended Log Format…
nona urbiz
  • 187
  • 1
  • 1
  • 11