J. King
3 years ago
1 changed files with 7 additions and 0 deletions
@ -1,3 +1,10 @@ |
|||
#! /usr/bin/php |
|||
<?php |
|||
if (posix_geteuid() == 0) { |
|||
$info = posix_getpwnam("arsse"); |
|||
if ($info) { |
|||
posix_setgid($info['gid']); |
|||
posix_setuid($info['uid']); |
|||
} |
|||
} |
|||
require "/usr/share/webapps/arsse/arsse.php"; |
|||
|
Loading…
Reference in new issue