1,693 reputation
410
bio website sarnold.org
location Lake Oswego, OR
age 35
visits member for 3 years, 4 months
seen Jun 28 '13 at 19:00

Paranoid pragmatic security type; I helped develop the AppArmor mandatory access control system. If AppArmor isn't a good fit for your security requirements, please consider running TOMOYO, SMACK, or SELinux.

For more information about me, including an abridged book list, see my careers2.0 profile. Or if you're old-school and want to see all my LaTeX skills on display, my old-fashioned resume is also available.


Apr
1
comment Execute a Terminal command based on receiving an email in Thunderbird on a Mac?
What does your code currently look like for receiving emails?
Mar
26
awarded  Nice Answer
Mar
24
comment TP-Link WN722N usb NIC
Okay; edit your posting and include the message.
Mar
23
comment TP-Link WN722N usb NIC
It can take a bit of experience to figure out which messages are just normal noise and which messages are indicating the source of the problem, especially since there are multiple pieces that could stop a machine from getting on the network if they aren't configured just right. Start by looking for messages within a few seconds of the disconnect that mention wireless, wired, tcp/ip network stack, arp, dns, dhcp, etc.
Mar
23
comment can't replace ? in csv file?
You might need to include some screenshots of data and dialog interaction before this will make sense to someone else.
Mar
23
comment TP-Link WN722N usb NIC
Check your event viewer to see if there are interesting log entries. Check your router's log viewer to see if there are interesting log entries.
Mar
22
comment Ping to router not possible from ssh connected machine
Collect the output of ip addr and ip route both when the connections work and when they fail. Check logs in /var/logs/ for messages that might indicate problems.
Mar
14
comment Directory transfer from Linux -> Windows; 255 Character limit error
Have you tried rsync(1) yet? Neat tool.
Mar
12
answered how to find the gateway used for routing
Feb
26
awarded  Yearling
Feb
21
answered Will Network Simulator work in Ubuntu when it's installed on an external hard drive?
Feb
13
comment Where can I get the C code for the bash login?
How are you calling login(1)? Are you running it with euid == root? (Or are you expecting to start a new session as your current user account?)
Feb
4
comment What to do if kill -9 doesn't work?
You wouldn't need to kill launchd's parent unless launchd was also a zombie. But launchd's parent is init(8), and you probably cannot kill init(8). (At least the Linux kernel will only deliver signals to init(8) that it is explicitly prepared to handle. I suspect Darwin will do the same.) Even if init(8) did restart for you, your process would still remain unreaped by launchd, the task that is at fault here.
Feb
4
comment What to do if kill -9 doesn't work?
I expect launchd will ignore or block the HUP signal. (Which signals a modem hangup. These days it's also used when ssh drops the connection, bash(1) or other shells will deliver HUP to the child processes it started. Because it can't happen for daemons, most daemons will either ignore it or use it to signal a request to re-read a configuration file.) Try just kill $(pidof launchd) and if that fails, kill -KILL $(pidof launchd).
Feb
4
comment What to do if kill -9 doesn't work?
Hrm, sounds like it would be worth filing a bug report with Apple if you can get launchd to fail to reap a dead child. Will OS X restart launchd for you if you kill it? (Make certain you don't have any important unsaved content before testing.)
Feb
4
answered What to do if kill -9 doesn't work?
Feb
2
comment Run package manager without root privileges to install packages to your home dir
It's probably more trouble than it is worth to try to make it work, since packages depend upon the standard C library, and so on. What you're after is something very different from the normal use case. (You can try to hack something together with the fakeroot tool and zypper's chroot abilities, but .. it'd be a pretty big hack.)
Feb
1
comment How to “undo” unzip command?
The problem is in the awk '{print $4}' -- a filename with spaces might be in $4 $5 $6 .... :)
Feb
1
comment How to “undo” unzip command?
Fails if any files have spaces in their names... (+1 now with the -i edit. :)
Feb
1
answered How to “undo” unzip command?