Most Popular
1500 questions
55
votes
3 answers
Isn't Ctrl-Alt-Delete on Linux *really* dangerous?
Is the default Ctrl-Alt-Delete shutdown -r functionality on Linux systems a dangerous feature?
Years ago, when I deployed physical systems with attached keyboards and monitors, I'd sometimes modify the /etc/inittab on Red Hat systems to disable the…
ewwhite
- 201,205
55
votes
5 answers
HAProxy graceful reload with zero packet loss
I'm running an HAProxy load balancing server to balance load to multiple Apache servers. I need to reload HAProxy at any given time in order to change the load balancing algorithm.
This all works fine, except for the fact that I have to reload the…
Conor Taylor
- 693
55
votes
7 answers
How to allow active directory users to remote desktop in?
This is my first time setting up or even using active directory.
I set it up, and added the computers(Actually VMs in Hyper V) to the active directory, and if if I use hyper-V to connect to the VMs, I am able to use users from the active directory…
user1308743
- 661
55
votes
7 answers
How to get all fingerprints for .ssh/authorized_keys(2) file
Is there a simple way to get a list of all fingerprints entered in the .ssh/authorized_keys || .ssh/authorized_keys2 file?
ssh-keygen -l -f .ssh/authorized_keys
will only return fingerprint of first line / entry / publickey
hack with awk:
awk…
childno͡.de
- 692
55
votes
4 answers
Difference between SSLCertificateFile and SSLCertificateChainFile?
Normally with a virtual host an ssl is setup with the following directives:
Listen 443
SSLCertificateFile /home/web/certs/domain1.public.crt
SSLCertificateKeyFile /home/web/certs/domain1.private.key
SSLCertificateChainFile…
chrisl-921fb74d
- 1,065
- 2
- 13
- 22
55
votes
2 answers
Mysterious visitor to hidden PHP page
On my website, I have a "hidden" page that displays a list of the most recent visitors. There exist no links at all to this single PHP page, and, theoretically, only I know of its existence. I check it many times per day to see what new hits I…
Bill
- 613
55
votes
2 answers
TCP/IP ports necessary for CIFS/SMB operation
If I want to allow Windows networked drives between two firewalled computers, do I need to open ports 137-139, or is port 445 sufficient? I have to submit a form and get approval to open firewall ports, and I don't want to ask for more open ports…
Jonathan
- 653
55
votes
1 answer
what s+ S1+ T R+ mean in ps ax ps list
I run this command and got result this but not able to understand the result which node instance should i kill
ps ax | grep node
23308 pts/3 S+ 0:00 sudo node index.js
23310 pts/3 Sl+ 0:00 node index.js
23568 pts/1 T 0:00…
Rahul Mehta
- 1,019
55
votes
4 answers
run rsync as root but keep user ownership
I would like to backup user files from one server to another with rsync.
but I noticed that the user folders change to root.
how can I keep the user permissions with rsync (running by root)?
edotan
- 1,998
55
votes
9 answers
Why would a server not send a SYN/ACK packet in response to a SYN packet
Lately, we've become aware of a TCP connection issue that is mostly limited to mac and Linux users who browse our websites.
From the user perspective, it presents itself as a really long connection time to our websites (>11 seconds).
We've managed…
codemonkey
- 651
55
votes
10 answers
RAID - software vs. hardware
I have always used hardware based RAID because it (IMHO) is on the right level (feel free to dispute this), and because OS failures are more common to me than hardware issues. Thus if the OS fails the RAID is gone and so is the data, whereas - on a…
Robert MacLean
- 2,186
55
votes
5 answers
Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver?
I've seen people recommend combining all of these in a flow, but they seem to have lots of overlapping features so I'd like to dig in to why you might want to pass through 3 different programs before hitting your actual web server.
nginx:
ssl:…
Joel K
- 6,023
55
votes
3 answers
.nfsXXXX files appearing, what are those?
I have an application running (on RHEL5) that streams data onto an NFS share. Recently, I saw a lot of .nfsXXXX... (xxx being a hexadecimal number) appearing in its working directory, where the application writes hourly files and later moves them to…
nos
- 2,518
55
votes
4 answers
Unix socket vs TCP/IP host:port
Could someone please describe to me the pros and cons of using a Unix socket file vs a tcp/ip localhost:port when setting up services on a server (Ubuntu, FWIW)?
In this particular instance it's for a Python WSGI server (uWSGI) but I'm just…
Ludo
- 1,119
55
votes
9 answers
Determine if filesystem or partition is mounted RO or RW via Bash Script?
Is there an easy way to determine if a mounted filesystem is mounted as Read-Only or Read-Write? I was thinking just to pipe mount but I thought there might be an easier way.
Jake Wilson
- 9,133