Hi,
I am having permission problem in executing mailman command with group user.
Please give the solution and help me.
*Command working with root user:* sudo -u *root* -S /usr/local/cpanel/3rdparty/mailman/bin/list_lists I can able to get the mailman mailing lists when i use the *root* user in terminal.
Similarly, I am trying with another user *devuser* sudo -u *divhdpug* -S /usr/local/cpanel/3rdparty/mailman/bin/list_lists
Following error occurred when I execute above command with *devuser.*
sudo: unable to execute /usr/local/cpanel/3rdparty/mailman/bin/list_lists: Permission denied
On 06/30/2015 07:11 AM, Selva Gaja wrote:
Hi,
I am having permission problem in executing mailman command with group user.
Please give the solution and help me.
*Command working with root user:* sudo -u *root* -S /usr/local/cpanel/3rdparty/mailman/bin/list_lists I can able to get the mailman mailing lists when i use the *root* user in terminal.
Similarly, I am trying with another user *devuser* sudo -u *divhdpug* -S /usr/local/cpanel/3rdparty/mailman/bin/list_lists
Following error occurred when I execute above command with *devuser.*
sudo: unable to execute /usr/local/cpanel/3rdparty/mailman/bin/list_lists: Permission denied
Mailman's command line scripts need to be run by root or a user in mailman's group. If you want to run these commands as 'devuser', you need to add devuser to Mailman's group..
Also see http://wiki.list.org/DOC/Mailman%20and%20CPanel.