Here is my problem. The perl binary is allowed to only few users whom are in a group called Perl.
We have :
-rwxr-x--- 2 root perl 12492 Jun 10 19:33 /usr/bin/perl
Our problem with this is that we have some mail piping which launch a perl script. For example the mail .qmail-support contains:
Every times a mail is sent to support@mydomain we have an error in the /var/log/send/current log file like this one :
@40000000456743ab158d4fa4 delivery 224282: deferral: /bin/sh:/home/account/domain/html/secure/support/include/email.cgi:/usr/bin/perl:_bad_interpreter:_Permission_denied/
The permission to access Perl is denied.
So my question is simple, which user we have to add to the perl group to allow incoming mail to execure perl ?
We’ve tried to add all these users to the perl group but we still have this pbm
hmmm… A last idea, does this user must have an active shell associated to himself and not /sbin/nologin ?
Thanks for your help