Reputation
868
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
10 23
Newest
 Caucus
Impact
~279k people reached

Nov
28
comment Should I use .htaccess in an Apache production/live environment?
Whether it is in the source code and whether the impact is significant enough to be measurable are different. As we're talking about read-only access, this should be entirely satisfiable from the system cache once it's read in the first time, shouldn't it? If so that would eliminate physical disk access. The rest is in-memory and not very strenuous.
Nov
23
comment How can I list all installed packages from lenny-backports?
So in other words, ~S is like an operator which means "the next two conditions have to apply to the exact same package and version".
Nov
12
comment I just got a linode VPS a week ago and I've been flagged for SSH scanning
Read log files such as /var/log/auth.log to see who logged in or attempted to log in and which user they logged in as. Other log files such as /var/log/syslog will show more comprehensive, general information that can also give clues. Remember the attacker may have had access to modify or delete these logs. Also, this should not be a substitute for reinstalling the OS.
Jan
19
comment How can I filter spam from yahoo's servers?
I run through Spamhaus Zen's DNSBL and PSBL - question updated with info. I have considered using spamassassin with a very high threshold but not sure how effective it'll be on this type of spam.
Dec
15
comment Does orientation affect hard drive lifespan?
"If their heads were heavy, and sagging was a problem I'd say that horizontal position would be better" But by a similar argument, the distance between the head and the surface is extremely crucial, and you wouldn't want the same sag to affect that clearance (though I understand there is a "bubble" of air between them).
Dec
15
comment Does orientation affect hard drive lifespan?
It is an excellent point, though the hard drives in iPods are quite different to the hard drives used in desktops/servers. I know, for example, that smaller hard drives can take a LOT more shock and vibration than larger ones. 2.5" drives can take about 10 times as much as 3.5" drives. It's logical that other characteristics would vary with drive size/type as well.
Oct
20
comment SSL certificate selection based on host-header: is it possible?
How do you cope with Windows XP users, Android users, Blackberry users, etc?
Jul
30
comment Useful Command-line Commands on Windows
Well I use it as an rsync equivalent. But it doesn't do everything rsync does, obviously, like transferring over SSH, the smart delta transferring ability, etc. What it does do is robustly copy files, and all their attributes and permissions, in a way that it doesn't matter if the operation is interrupted (it can be safely and robustly resumed). Useful for backups or when you move to a new drive/filesystem.
Jul
29
comment Our security auditor is an idiot. How do I give him the information he wants?
The company's correspondence with the OP has all the hallmarks of an actual scam. I'd consider reporting it to law enforcement.
May
13
comment How to understand /etc/mtab?
Good point about columns 5 and 6 being meaningless in /etc/mtab, but being there so that it can be pasted into /etc/fstab and be compatible
May
9
comment How to redirect all mail from one domain to another in Postfix?
Thanks, this looks right.
Apr
9
comment What User Should NGinx and PHP be running as?
The reason for www-data is that it is an account with zero privileges - it cannot write to any file on the entire file system, not read to anything but world-readable files. Previously, you would use built-in user "nobody" to achieve this. However, by creating "www-data" you have the possibility to allow this user to write to some files, without having to make those files world-writable (which is bad). The basic principle, that "www-data" is as privileged as "nobody" in every other way, holds true.
Apr
5
comment which disto to pick for Linode?
Mandrake or Fedora for a server??
Mar
25
comment Clarify something about Linux directory permissions
Thanks Wes for your answer - it was helpful as well
Mar
24
comment Clarify something about Linux directory permissions
Thanks JeffG, I understand that with a soft link, they would be, but with a hard link or bind mount, they don't - so hard links and bind mounts can bypass this, but then a regular user wouldn't be able to create a hard link or bind mount into there anyway.
Mar
22
comment Clarify something about Linux directory permissions
Sorry packs, but I was trying to ask a question a bit different to the one you answered. I already suspect that the lack of read or execute permissions on the directory would prevent access to its files regardless of the file permissions. I was wondering if this was definitive or if there were still ways for other users to read the files. JeffG's answer helped me out, for example. I will try to clarify my question.
Mar
22
comment Securing /var/www
This answer sounds like a good solution to me - can anyone tell me any downsides?
Mar
4
comment How long does a blocked connection from Iptables last? Is there a way to set the timeout?
It's more like "If there are 15 connections, and the last one was less than 5 seconds ago" according to my interpretation of the docs. Not all 15 connections would need to have been within the last 5 seconds.
Feb
15
comment Is there an alternative to /dev/urandom?
Actually shred is much faster than /dev/urandom. My guess is it provides its own pseudorandom data using /dev/urandom or /dev/random as a seed.
Feb
10
comment Is there a way to reduce the avarage time it takes to fsck a device?
Well, fsck.xfs basically just returns success without doing anything. There are xfs_check and xfs_repair utilities for when you need them.