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