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.

no matching group file entry in /etc/gshadow add group 'cpanel' in /etc/gshadow?

Discussion in 'Security' started by postcd, Sep 10, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
    Hello, lynis (linux security auditing tool), reported this:

    when running grpck:
    any idea pls why this "error" is there / how to fix?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. gn0s1s

    gn0s1s Member

    Joined:
    Mar 2, 2016
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambodia
    cPanel Access Level:
    Root Administrator
    Lynis (2.2.0) reports the same thing and grpck reports:

    Code:
    root@obscured [/usr/local]# grpck -r
    no matching group file entry in /etc/gshadow
    add group 'cpanel' in /etc/gshadow? No
    no matching group file entry in /etc/gshadow
    add group 'cpanelphpmyadmin' in /etc/gshadow? No
    no matching group file entry in /etc/gshadow
    add group 'cpanelphppgadmin' in /etc/gshadow? No
    no matching group file entry in /etc/gshadow
    add group 'cpanelroundcube' in /etc/gshadow? No
    no matching group file entry in /etc/gshadow
    add group 'cpanelrrdtool' in /etc/gshadow? No
    no matching group file entry in /etc/gshadow
    add group 'mailman' in /etc/gshadow? No
    grpck: no changes
    I appreciate the answer that it's "normal" not to see the "cpanel" group there, but the the question becomes (1) why is this normal and (2) will it hurt security in any way to allow grpck add those groups to /etc/gshadow/?

    Thanks in advance.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The following document is a good place to start for anyone who wants to understand what grpck does:

    grpck(8) - Linux manual page

    Adding the entries is acceptable, and we provide following script to add those entries:

    Code:
    /scripts/grpck
    Thank you.
     
Loading...

Share This Page