I'm trying to execute the passwd command using either exec or system in php. I've tried many different ways but cannot get any of them to work. It seems like "sudo passwd username\npassword\npassword\n" would work, but apparently the return key is different than a "\n"?