Most Popular

1500 questions
51
votes
2 answers

chown on a mounted NFS partition gives "Operation not permitted"

I have a remote partition that i have mounted locally using NFS. 'mount' gives 192.168.3.1:/mnt/storage-pools/ on /pools type nfs (rw,addr=192.168.3.1) On the server i have in exports: /mnt/storage-pools …
Disco
  • 1,491
51
votes
8 answers

How do I ask screen to behave like a standard bash shell?

Just learned about the screen command on linux - it is genius. I love it. However, the actual terminal/prompt in screen looks and behaves differently than my standard bash prompt. That is, the colors aren't the same, tab completion doesn't seem…
thornomad
  • 611
  • 1
  • 6
  • 5
51
votes
6 answers

SSH session drops - Does the command continue executing?

If I was running a command before the SSH connection was dropped, will the command continue executing?
Miko
  • 1,799
50
votes
4 answers

Munin vs Nagios

We're currently using Nagios to monitor about 20 Linux machines (services and functional links). I just find out about Munin and I wonder if this is a Nagios replacement, or it can be used together with Nagios? I don't want to spend hours setting it…
50
votes
6 answers

Linux - How do I see when a process started?

How can I see when a process started, assuming I know the pid. (On Linux)
Amandasaurus
  • 33,461
50
votes
6 answers

How do I back up an AWS S3 Bucket without versioning the source bucket

Is there any way to recover from accidental deletions of an Amazon S3 Bucket? We've got critical info in our buckets and I need to mitigate the risk of accidental or malicious deletions of the bucket itself. I know I can sync the entire bucket…
Nikhil Gupte
50
votes
14 answers

This could be due to CredSSP encryption oracle remediation - RDP to Windows 10 pro host

Error Following Windows security updates in May 2018, when attempting to RDP to a Windows 10 Pro workstation the following error message is displayed after successfully entering user credentials: An authentication error occurred. The function…
50
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
  • 991
  • 3
  • 8
  • 16
50
votes
4 answers

Can someone using the same DNS server as me hijack my domains?

When I register a new domain, I send it to my hosting provider by assigning it its domain name servers in the registar's settings. For example, with Digital Ocean, I input the…
50
votes
3 answers

Recommended DNS SOA record TTL default?

We currently have our DNS SOA record set to the following for stackoverflow.com: primary name server = ns1.p19.dynect.net serial = 2009090909 refresh = 3600 (1 hour) retry = 600 (10 mins) expire = 604800 (7 days) default…
Geoff Dalgas
  • 2,566
50
votes
4 answers

Linux - How can I see what's waiting for disk IO

I have a server that has a really high load. Nothing is jumping out at me in terms of CPU usage, and it's not swapping. I think it's cause some processes are waiting for disk IO, and I want to see what's waiting. Is there any programme that'll show…
Amandasaurus
  • 33,461
50
votes
5 answers

Redirect non-www requests to www on Amazon Route 53

I want to redirect all requests from example.com to www.example.com. Preferably, this should happen at DNS level. I tried using PTR records, but that simply fails, returning a 404. wwww.example.com is an ALIAS for an Elastic Load Balancer. What’s…
flavian
  • 655
50
votes
5 answers

Rsync command issues, owner and group permissions doesn´t change

I´m trying to set owner and group via rsync and it doesn't seem to be working. This is the command: sudo rsync -rlptDvz --owner=cmsseren --group=cmsseren /home/serena/public_html/ -e ssh root@ip:/home/cmsseren/public_html2/ The files sync correctly…
50
votes
9 answers

sshd service fails to start

I'm not sure why it isn't starting or why its preventing me from connecting, i get this error: sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled) Active: failed (Result: start-limit) since Wed…
aCoolBean
  • 501
50
votes
3 answers

How can I detect if a server is using SNI for HTTPS?

I'm looking for a simple way to know if a server is using the Server Name Indication SSL extension for its HTTPS certificate on a website. A method that uses either a browser or Unix command line is fine. Thanks!