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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page