2021-05-17 22:03:47 +00:00
|
|
|
#! /usr/bin/php
|
|
|
|
<?php
|
2021-05-18 13:46:42 +00:00
|
|
|
if (posix_geteuid() == 0) {
|
|
|
|
$info = posix_getpwnam("arsse");
|
|
|
|
if ($info) {
|
|
|
|
posix_setgid($info['gid']);
|
|
|
|
posix_setuid($info['uid']);
|
|
|
|
}
|
|
|
|
}
|
2021-05-19 19:06:37 +00:00
|
|
|
require "/usr/share/arsse/arsse.php";
|