PApp
view release on metacpan or search on metacpan
write-config view on Meta::CPAN
print <<EOF;
PApp will usually run as a specific user/group (e.g. www/www). All files
installed will be chown'ed to that uid/gid, including the file that
contains "secret" information.
EOF
do {
if (defined getpwuid $CFG{PAPP_UID}) {
$CFG{PAPP_UID} = getpwuid ($CFG{PAPP_UID});
}
get_value 0, "PAPP_UID", "papp user id", "0";
} until (($CFG{PAPP_UID} ne ((getpwnam $CFG{PAPP_UID})[2])
&& defined ((getpwnam $CFG{PAPP_UID})[2]))
|| ($CFG{PAPP_UID} =~ /^\d+$/));
do {
if (defined getgrgid $CFG{PAPP_GID}) {
$CFG{PAPP_GID} = getgrgid ($CFG{PAPP_GID});
}
( run in 0.246 second using v1.01-cache-2.11-cpan-8d75d55dd25 )