Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mailman has /bin/bash

Discussion in 'General Discussion' started by Alex1988, Mar 23, 2017.

Tags:
  1. Alex1988

    Alex1988 Registered

    Joined:
    Mar 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Hello,

    I saw in /etc/passwd that mailman system user has shell access /bin/bash.
    I am using CentOS 7.3 x86_64 standard with WHM 62.0 (build 17).

    Can I disable shell access for mailman? Is it safe to be disabled?
    How should I disable shell access for mailman?

    On CentOS 5.11 x86_64 standard WHM 56.0 (build 46), mailman did not had shell access.

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Mailman was refactored into an RPM as of cPanel version 58. The entry in /etc/passwd is by-design as certain mailman actions are ran as the "mailman" user.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Alex1988

    Alex1988 Registered

    Joined:
    Mar 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Hello,

    Isn't unsafe for mailman to have shell access?

    Thanks!
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice