Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $exec = "echo your_passwd | /usr/bin/sudo -S your command";
- exec($exec,$out,$rcode);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement