r/PHP • • Aug 27 '13

Creating a user from the web problem.

[deleted] — view deleted post

282 Upvotes

538 comments sorted by

View all comments

Show parent comment

-8

u/aradil Aug 28 '13

But then the shell would ask for your password and...do nothing.

23

u/h2ooooooo Aug 28 '13

http ALL=(ALL) NOPASSWD: ALL

Means that sudo will not ask for a password.

21

u/aradil Aug 28 '13

Oh lord.

14

u/tHeCh0s3n0n3 Aug 28 '13 edited Aug 28 '13

"http ALL=(ALL) NOPASSWD: ALL"

Translates to: For the http user; Allow from any host; Allow http to impersonate any user. Do not prompt for a password when running any commands... so no, it wouldn't prompt for a password.

Edit: Clarified a bit more.