Showing posts with label sudo. Show all posts
Showing posts with label sudo. Show all posts

Monday, June 4, 2012

Is there a way for non-root processes to bind to "privileged' ports (<1024) on Linux?


It's very annoying to have this limitation on my development box, when there won't ever be any users other than me.

Tuesday, May 29, 2012

sudo changes PATH - why?


This is the PATH variable without sudo:




$ echo 'echo $PATH' | sh

/opt/local/ruby/bin:/usr/bin:/bin

Monday, May 21, 2012

How do I use sudo to redirect output to a location I don"t have permission to write to?


I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.