386 reputation
110
bio website
location Toronto, Canada
age
visits member for 2 years, 10 months
seen Oct 7 at 17:56

FreeBSD, enterprise open source stuff, network and system security. I'm by no means an expert software developer, but I've been using PHP since 1995 and can find the bathroom on my own. Bourne shell and awk since the 1980s. My Telebit Worldblazer and serial breakout box are still in good working order. :/


Oct
1
answered Batch script to export info from Active Directory (name, phone numbers, location, etc) into a csv file
Sep
24
awarded  Autobiographer
Mar
28
awarded  Critic
Mar
27
comment How to discover current time-zone (FreeNAS shell)?
find /usr/share/zoneinfo/ -type f -exec cmp -s {} /etc/localtime \; -print | awk -F/ -vOFS=/ '{print $5,$6}'
Nov
22
awarded  Revival
Sep
6
comment SSH keypair generation: RSA or DSA?
While FIPS 186-2 stated a 1024 bit requirement for DSA keys, the current FIPS 186 is FIPS 186-3, which explicitly allows for longer keys. While it looks as if the ssh-keygen documentation hasn't kept pace with the current FIPS standard, that affects the validity of standard not at all.
May
15
comment How do know if I can SSH in servers?
What are these servers used for? I.e. what is the "master list" that must always get updated regardless of the state of other documents? DNS? /etc/ethers? dhcpd.conf? Or are all hosts simply on the same subnet?
May
15
awarded  Caucus
May
9
revised Netstat doesn't work on FreeBSD by php function exec()
update: kvm error and external references.
May
9
revised Netstat doesn't work on FreeBSD by php function exec()
deleted 22 characters in body
May
9
answered Netstat doesn't work on FreeBSD by php function exec()
May
9
awarded  Citizen Patrol
Dec
15
awarded  Yearling
Oct
30
comment If you DONT use noac when mounting, is there a command to refresh the file and directory attributes given a path
We had some interesting problems a few years ago with Java mmapping jar files, then failing to "let go" and re-read the file when the map got marked dirty. Our solution? Kill off Java entirely and restart it. Hope you find a better solution. :)
Sep
22
comment CNAME for top of domain?
I should point out that EVERY domain is a "subdomain". example.com is a subdomain of com, and com is a subdomain of .. Any limitations put in place by your ISP are put in place by your ISP and perhaps the registrar, not by the underlying technology.
Aug
21
comment Prevent sudo, apt-get, etc. from swallowing pasted input to STDIN?
@SystemParadox - then the OP's original problem remains. Doing your system administration by cut-and-paste is a bad idea. If it doesn't work in the first place for the OP, then so much the better. Making it a pain helps to discourage the practice.
Aug
20
comment Unix: how can I change Program's running user and running group?
@hhh - your question used Apache as an example, but asked for a generic case. I provided that, including a reference to the only ubiquitous shell command that can be used to set your userid, but my answer is "too generic", and you think this deserves a downvote, despite the fact that my answer contains no errors or misinformation? Wow. I'll be sure to skip spending any effort on your future questions.
Aug
20
comment Unix: how can I change Program's running user and running group?
@hhh - If you installed Apache from its package (i.e. using apt-get or equivalent), then the package's install script probably created the necessary user and group for Apache's privilege separation. It's almost always a better idea to use a distro's "approved" and "supported" packages and methods rather than rolling your own. If you're writing new server software, consider having its install process create a new user just to own the files manipulated by the server. If privileged access is required for low-numbered ports or log manipulation, follow Apache's example, with a stub and children.
Aug
20
comment Unix: how can I change Program's running user and running group?
@hhh - the "Debian" label wasn't there when I wrote my answer; when you first posted your question, you tagged it "Unix".
Aug
20
answered Unix: how can I change Program's running user and running group?