Joined October 2013
·

Fletcher Johnson

Toronto, ON, Canada
·

Posted to Securely use basic auth with curl over 1 year ago

Just a note: On Linux, at least from what I've read and on my own machine only root can see environment variables for all users. Otherwise a user can see their own environment. Your ps command didn't show me any environment info, even as root. I used 'ps -e -o pid,user,cmd e' instead.

Just check out the permissions in /proc/pid/environ. It's set chmod 400

Otherwise, great tip!
-Fletcher

Achievements
1 Karma
0 Total ProTip Views