970 reputation
615
bio website
location Virginia
age 31
visits member for 4 years, 11 months
seen 16 hours ago

16h
comment What does 'http: getaddrinfo*.gaih_getanswer: got type “46”' mean
See sourceware.org/bugzilla/show_bug.cgi?id=14841 It's getting confused because it got a DNSSec response as well. (old question, but as I landed here with Google, putting a pointer for the next person).
Feb
27
comment How many IOPS do I need? My workload bottleneck is storage
I'm not sure how we can even hope to answer without knowing what services you're trying to run, how many users, etc...
Jan
27
comment Can a program tell it is being run under sudo?
... or, alternatively, perl -E 'say $<, "\n", $>'
Jan
27
comment Can a program tell it is being run under sudo?
Nope, sudo sets both the effective and real id. As opposed to suid, which does not. Here is a trivial C program you can use to test (sorry, the comment will remove newlines, you'll have to add them back): #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main() { printf("real = %i, effective = %i\n", getuid(), geteuid()); return 0; }
Dec
9
comment Why running named(bind) in chroot is so important for security? Or maybe it is not ?
You're correct its much improved. Basically, bind8 was a nightmare; bind9 isn't. E.g., if you search the NVD, I don't see any remote code execution bugs listed, at least since 2010 (as far back as the search went): web.nvd.nist.gov/view/vuln/… ... plenty of DoS bugs, and also a few information disclosure bugs (e.g., disclosing internal zones).
Oct
29
comment How to read oom-killer syslog messages?
You've run out of memory somewhere, though I have no idea where (I'm not that good at reading the kernel output). I think you've hit a weird kernel bug, honestly.
Oct
12
comment LSI 3Ware tw_cli and tdm2 segfault with Debian Linux kernels after 3.8
Indeed, I'd expect it to break update-initramfs, and possibly all kinds of things (e.g., modprobe). I've thought of a better solution—ptrace—writing a program for it now... Hopefully I can get this to work.
Oct
10
comment LSI 3Ware tw_cli and tdm2 segfault with Debian Linux kernels after 3.8
Thank you, you saved me having to figure out how to write kernel modules (and remember enough C) to write my own. Suggest you might want to put this somewhere more permanent, to help out other 3ware sufferers...
Oct
4
comment LSI 3Ware tw_cli and tdm2 segfault with Debian Linux kernels after 3.8
Where does your utsname module come from?
Sep
30
comment Do I have an under-voltage issue in my data room I need to address?
About your last paragraph: If you have two 750W/110V servers on a 15A breaker, and add a third, that's ~20A. That doesn't cause a brown-out (well, maybe for a fraction of a second), instead that causes your breaker to trip. Or, if not, potentially causes a fire.
Aug
21
comment Getting the currently logged-in user to a Windows XP Pro system
@TessellatingHeckler Hah, yep. Coming from a Unix background, I definitely understand that!
Aug
21
comment Monitor number of users logged into Windows XP with Nagios
See also Getting the currently logged-in user to a Windows XP Pro system for a related (much newer) question which can also be used to do this.
Aug
21
revised Getting the currently logged-in user to a Windows XP Pro system
bugfix: Windows leaves old sessions lying around
Aug
20
answered Getting the currently logged-in user to a Windows XP Pro system
Aug
19
comment How to find files affected by reallocated sectors?
@Nick If you want to ensure data integrity, you need to keep checksums of your files. Then you can use the checksums to answer "has anything been corrupted?" (And replace with another copy, which you can confirm is correct using the checksum)
Aug
19
comment With virtualization, does it still make sense to use multiple mount points?
Why do you have to reboot to increase the size of a mount point? I think all the common filesystems support online expand at this point.
Aug
16
accepted Getting the currently logged-in user to a Windows XP Pro system
Aug
16
comment Getting the currently logged-in user to a Windows XP Pro system
Trying the queries in your PowerShell script quickly by hand as administrator shows they work. Thank you! I'll figure out the permissions needed Monday.
Aug
16
comment Getting the currently logged-in user to a Windows XP Pro system
Actually, with more testing, it only works if the querying account is the same as the logged in account. Otherwise, it always returns null. This is weird—and maybe a config error somewhere—but good enough to get this monitored...
Aug
16
comment Getting the currently logged-in user to a Windows XP Pro system
That query seems to give me the user that is logging in to do the WMI query, not the desktop user... select username from Win32_ComputerSystem seems to work, but only if run as an administrator (must be a permission I have to set somewhere)... it's giving null as non-admin.