Most Popular
1500 questions
76
votes
9 answers
How passively monitor for tcp packet loss? (Linux)
How can I passively monitor the packet loss on TCP connections to/from my machine?
Basically, I'd like a tool that sits in the background and watches TCP ack/nak/re-transmits to generate a report on which peer IP addresses "seem" to be experiencing…
nonot1
- 1,129
76
votes
5 answers
How can I monitor what logrotate is doing?
How can I monitor what logrotate is doing in Ubuntu? Can the activity of logrotate be monitored?
user56548
76
votes
4 answers
How can I allow one user to su to another without allowing root access?
I'd like to allow certain users to su to another user account without having to know that account's password, but not allow access to any other user account (i.e. root).
For instance, I'd like to allow Tom the DBA to su to the oracle user, but not…
gharper
- 5,535
76
votes
6 answers
How to check disk I/O utilization per process?
I'm having a problem with a Linux system and I have found sysstat and sar to report huge peaks of disk I/O, average service time as well as average wait time.
How could I determine which process is causing these peaks the next time it happen?
Is it…
Avada Kedavra
- 1,394
- 2
- 14
- 19
75
votes
13 answers
SSD or HDD for server
Issue
I have read many discussions about storage, and whether SSDs or classic HDDs are better. I am quite confused. HDDs are still quite preferred, but why?
Which is better for active storage? For example for databases, where the disk is active all…
genderbee
- 901
75
votes
16 answers
Alternatives to Splunk?
I'm pretty impressed with Splunk, especially version 4. Pretty graphs, alerting (Enterprise only), and fast, accurate, searching. It's a great product.
However, the cost just way too high to consider for full production use for our company. All we…
MichaelGG
- 1,739
75
votes
4 answers
Why isn't ifconfig available in Ubuntu Docker container?
With the base ubuntu:12.04, ifconfig is not available in the container, though the ip command is available, why is this? and, how to get ifconfig in the container?
Pellaeon
- 963
75
votes
9 answers
Why do I get sqlite error, "unable to open database file"?
Using my Django app, I'm able to read from the database just fine. When the application didn't have permission to access the file, it gave me this error:
attempt to write a readonly database
Which made sense. So I edited the permissions on the…
Nick Bolton
- 5,186
75
votes
2 answers
Must CSRs be generated on the server that will host the SSL certificate?
Is it necessary to generate the CSR (Certificate Signing Request) on the same machine that will host my web application and SSL certificate?
This page on SSL Shopper says so, but I'm not sure if that's true, because it would mean I'd have to buy a…
Mike M. Lin
- 931
75
votes
11 answers
Why is SSH password authentication a security risk?
Most guides for OpenSSH configuration advise to disable password authentication in favor of key-based authentication. But in my opinion password authentication has a significant advantage: an ability to connect from absolutely anywhere without a…
Septagram
- 967
75
votes
12 answers
Does changing default port number actually increase security?
I have seen advice saying you should use different port numbers for private applications (e.g. intranet, private database, anything that no outsider will use).
I am not entirely convinced that can improve security because
Port scanners exist
If an…
Sam
- 975
75
votes
5 answers
How do I protect my company from my IT guy?
I'm going to hire an IT guy to help manage my office's computers and network. We're a small shop, so he'll be the only one doing IT.
Of course, I'll interview carefully, check references, and run a background check. But you never know how things…
Jesse
- 1,920
75
votes
18 answers
Do you skip a rack unit between servers?
It seems like there's a lot of disagreement in mindsets when it comes to installing rackmount servers. There have been threads discussing cable arms and other rackmount accessories, but I'm curious:
Do you leave an empty rack unit between your…
Matt Simmons
- 20,584
75
votes
9 answers
Deleting All Partitions From the Command Line
How do you delete all partitions on a device from the command line on Linux (specifically Ubuntu)? I tried looking at fdisk, but it presents an interactive prompt. I'm looking for a single command, which I can give a device path (e.g. /dev/sda) and…
Cerin
- 3,910
- 21
- 66
- 85
75
votes
2 answers
Multiple public keys for one user
This question is similar to SSH public key authentication - can one public key be used for multiple users? but it's the other way around.
I'm experimenting on using ssh so any ssh server would work for your answers.
Can I have multiple public keys…
Russell
- 897