481 reputation
26
bio website
location Nashua, NH
age 27
visits member for 3 years, 2 months
seen Mar 9 at 16:19

I'm a Cloud Software Engineer at Acquia. I work on an automation system that manages thousands of EC2 instances for enterprise customers.

Stuff I like:


Sep
23
awarded  Yearling
Jul
19
answered SSH from osx to osx and then use agent
Jul
18
comment chowning each home user to itself recursively
@val0x00ff: Using && is checking the status code. My code is just a more verbose way of accomplishing the same.
Jul
18
comment chowning each home user to itself recursively
@Iain: Understood, just want to make sure OP or anyone else considering a script is thinking of the caveats.
Jul
18
comment chowning each home user to itself recursively
Use caution when writing scripts that cd to a target and perform operations. Consider this script is run by an administrator on a server where /home is in a bad state and the administrator is currently in /var. Everything in var would be chown -R root:root. I would recommend iterating directly on /home/* or using something like if [ $? -ne 0 ]; then echo Failed to cd to /home. Exiting!; exit 1; fi.
Aug
28
awarded  Commentator
May
28
awarded  Nice Answer
May
25
awarded  Yearling
Mar
6
comment Unable to delete file, even as root
If it were synced via rsync, the inode would change. The output of strace should prove to be interesting...
Mar
4
comment start apache script
Use sudo -l to confirm you see the command you're trying to configure after using visudo. sudo -l will tell you what commands you can run using sudo.
Feb
21
comment Join the executable and all its libraries
+1. For clarification, I believe you'd have to recompile the original binary as a static binary.
Feb
8
comment In bash, feed output of one command line-by-line into another command
+1 for herestring, I've always done this as while read line; do echo $line | xmllint...
Feb
8
answered Quick directory navigation in the terminal
Jul
8
comment Linux configuration settings
@Michael - I guess I'm just either more paranoid or more cynical than you. Perhaps both. :)
Jul
5
comment Linux configuration settings
@Caleb: A specific list of files to look for with no background on why someone would want to know just smells awfully "homeworkey" to me. I suppose there's a chance he just has a new Linux box and no idea how to configure it.
Jul
5
comment Linux configuration settings
Should we update the title of this to Can someone do my homework for me?
Jun
8
answered How can I set that only root + a given user can shut down my pc?
Jun
7
awarded  Critic
Jun
7
awarded  Supporter
Jun
3
comment Set up password-less SSH tunneling from home computer behind NAT to inside computer behind gateway
Ah, yes, "and vice versa", I missed that. The reverse proxy would be something like ssh -R localhost:8022:localhost:22 gateway1, which would allow connections on gateway1:8022 to be proxied back to your home PC port 22 (SSH) -- CAUTION: anyone who has access to gateway1 can now SSH to your system!