|
-
June 17th, 2006, 01:27 PM
#1
executing the passwd command w/ exec or system (php)
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"?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|