1,405 reputation
1711
bio website redhardsupra.blogspot.com
location Laurel, MD
age 37
visits member for 5 years, 7 months
seen 3 hours ago

Jul
27
comment simple statistical analysis from shell level
"overkill is underrated" (from the new A-Team movie)
Jul
7
comment http basic auth using .htacces/.htpasswd allowing slightly incorrect passwords
Try changing the hashing algorithm to SHA1 or MD5, see if that fixes it.
May
20
comment What does 'set -e' do, and why might it be considered dangerous?
What this reminded me of is a C++ prof of mine that was always pulling points from my assignments for not having single entry point/single exit point in a program. I thought it was a purely a 'principle' thing, but this set -e business definitely demos how and why things can completely spin out of control. Ultimately programs are about control and determinism, and with premature termination you give up both.
May
19
comment How to take snapshot of the filesystem in linux (files, their sizes only, not their data)
Then AIDE it is.
May
19
comment How to take snapshot of the filesystem in linux (files, their sizes only, not their data)
What kind of changes? Content of files, or just changes in the metadata, like permissions or ownership?
Apr
12
comment Tools a Unix administrator cannot live without
if you like tail -f, you will love multitail
Dec
25
comment Do I need seperate iptables rule for ipv6 address?
Do you have IPv6 enabled by default? A lot of distros these days come with it enabled. If yes, then you definitely want to filter out IPv6 explicitly, as IPv6 has a lot of built in connectivity, even if you don't configure it.
Oct
26
comment Can I get apache to log only a sample of the requests?
So you mean 'sample' in a statistically proper way, not the layperson's version, right?
Oct
23
comment ls | grep regex, ignore files with .tab,
Umm...I did that on purpose, in the spirit of Halloween ;) I seriously need more coffee...
Oct
23
comment ls | grep regex, ignore files with .tab,
You're correct, that's what I get for doing regex before coffinating myself ;)
Oct
22
comment Block ARP on Router
ifconfig eth0 -arp
Oct
21
comment How can I solve the apache2 httpd error “mixing * ports and non-* ports with a NameVirtualHost address is not supported”
You cannot mix the two types on the same ip:port. I've had a setup where I had two ip's, one had massvhost hanging off it, the other had all the regular namebased hosts. More importantly, what is the goal? What are you trying to achieve? What are your constraints?
Oct
19
comment Is part of the job of being a sysadmin tinkering and experimenting?
I completely agree, there's only that many patches to be applied, and backups to be performed before you go insane if you dont get to play with something new/shiny/different.
Sep
25
comment “ipv6 equivalent” of 192.168.x.x (configuring a static ipv6 address)
link-local isn't routable so it might not be what he needs
Sep
13
comment How Options work in Apache
Your ServerName should probably not have the :8009 portion, just the actual name.
Aug
15
comment Do routers have IP Addresses?
'Router has a minimum of two interfaces' instead of two IP's would be more correct.
Aug
15
comment Do routers have IP Addresses?
Ah nice, didnt know that, never used frame relay or ATM.
Aug
11
comment Password lifetimes, length, complexity and history. Is there something to help?
Slack doesn't do PAM. Or it hasn't done it in the past, I haven't played with it in a while. You can always test your shadow file with John the Ripper and some wordlists.
Aug
7
comment Is there a paging version of `watch`?
Why not just open a bigger window and go away with paging altogether?
Aug
6
comment Alias to twisted server content?
There is no limit on how many times one content can be served out. There is however a limit of one daemon listening to one (or more) ports and not sharing them with any other daemons.