Most Popular
1500 questions
46
votes
6 answers
Gaining administrator privileges in PowerShell
I only have one account on my Windows Vista machine, and that user has administrative privileges. However, when I try to execute a command within PowerShell to kill a certain process, I'm greeted with an "Access is denied" message. How do I become…

Brian
- 737
- 2
- 9
- 14
46
votes
5 answers
Automatically answer defaults when doing 'make oldconfig' on a kernel tree
When building a new kernel based on a previous config, is there a way to automate the make oldconfig process so that it sets new options to their default values?
Edit: What I mean is that when using a .config (from /boot/config-* or /proc/config.gz)…

Jean-Francois Chevrette
- 713
- 2
- 6
- 8
46
votes
3 answers
What is the maximum number of files a file system can contain?
Given the current structure of a directory entry on a ext4 file system on Ubuntu, what is the maximum number of files a file system can contain?
What is the general method of calculating the maximum number of files a file system can contain?
user32678
45
votes
6 answers
DNS using CNAMEs breaks MX records?
We are trying to move all our websites we host to CNAMES as we are planning on moving servers in the new year and would like the ability to move some clients to one server and other clients somewhere else. We were planning on giving clients a unique…

johnwards
- 765
- 1
- 9
- 13
45
votes
6 answers
IIS Log Request Body / POST Data
Does anyone know how I could get IIS to log POST data or the entire HTTP request?
Jim
45
votes
3 answers
How to set system time dynamically in a Docker container
Is there any way to set a Docker containers system time dynamically (at run time) without effecting the host machine?
Using
hwclock --set --date "Sat Aug 17 08:31:24 PDT 2016"
gives the following error:
hwclock: Cannot access the Hardware Clock…

Vingtoft
- 1,547
- 3
- 15
- 17
45
votes
3 answers
Can different AWS accounts manage different subdomains?
I have two AWS accounts. The master account with example.com as a Hosted Zone, this then has a number of record sets (i.e. api.example.com and kibana.example.com).
A second account will be managing testing.example.com as a Hosted Zone, with the…

mlk
- 561
- 1
- 4
- 7
45
votes
3 answers
Can nginx location blocks match a URL query string?
Can nginx location blocks match a URL query string?
For example, what location block might match HTTP GET request
GET /git/sample-repository/info/refs?service=git-receive-pack HTTP/1.1

Derek Mahar
- 901
- 3
- 8
- 16
45
votes
11 answers
Check is container/service running with docker-compose
I am using the docker-compose.
Some commands like up -d service_name or start service_name are returning right away and this is pretty useful if you don't want the containers running to depend on the state of the shell, like they do with regular up…

Ivan Kolmychek
- 1,244
- 2
- 10
- 13
45
votes
4 answers
Ubuntu 15.10 Server; W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
I'm running Ubuntu 15.10 server on a Asrock E3C226D2I board. When I get a kernel update or run update-initramfs -u I get a warning about missing firmware:
root@fileserver:~# update-initramfs -u
update-initramfs: Generating…

wouter
- 553
- 1
- 4
- 6
45
votes
5 answers
Why are many admins using 'Turn off Automatic Root Certificates Update' Policy?
My company distributes a Windows Installer for a Server based product. As per best practices it is signed using a certificate. In line with Microsoft's advice we use a GlobalSign code signing certificate, which Microsoft claims is recognised by…

Jeroen Ritmeijer
- 717
- 1
- 6
- 14
45
votes
6 answers
Appending to lists or adding keys to dictionaries in Ansible
(Related to Callbacks or hooks, and reusable series of tasks, in Ansible roles):
Is there any better way to append to a list or add a key to a dictionary in Ansible than (ab)using a jina2 template expression?
I know you can do something like:
-…

Craig Ringer
- 11,083
- 9
- 40
- 61
45
votes
5 answers
How do I install the JRE on a Windows server without Oracle adware?
I would like to install Java on one of our servers, but I am reticent due to Oracle's bundling of an Ask.com toolbar and some virus scanner. I've read that the java updater even installs these for important security fixes if they are missing, and…

Jason Goemaat
- 661
- 1
- 6
- 14
45
votes
7 answers
Removing an (apparently) infinitely recursive folder
Somehow, one of our old Server 2008 (not R2) boxes has developed a seemingly infinitely-recursing folder. This is playing havock with our backups, as the backup agent tries to recurse down into the folder and never returns.
The folder structure…

KenD
- 1,147
- 2
- 17
- 37
45
votes
5 answers
Find DKIM and DMARC Records?
Is there a method to find a domain's DKIM and DMARC records using dig or nslookup?
I have attempted to do the following:
dig somedomain.org any
returns many records, but not the known DKIM and DMARC text records.
nslookup -type=txt…

Evil Genius
- 561
- 1
- 4
- 5