Hacker News new | past | comments | ask | show | jobs | submit login

I would be worried about one of the processes having a database password or something like that as a parameter...



mysql at least replaces -ppassword for -px


Even though some software does replace the password, it would be better not to use passwords like that at all anyway. Just to be sure.


Good point. I think we should be caeful what we do, while administrating the server.

Maybe we could build some automatism which stops the screenshot service while an ssh session is established.


Either that, or you just exclude all processes forked by bash/ssh :-)


Once again with mysql you can:

    MYSQL_PWD=password mysql -uuser db


On some old systems, I remember that env vars of other UIDs could be seen, even if you weren't root. I wonder if that's still true for any systems out there.


There is a time interval larger than 0.000000000 seconds between the start of a mysql process and the process overwriting its argv :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: