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.

etc/shadow has non default permission

Discussion in 'Security' started by solvemyproblemplease, Jul 6, 2017.

  1. solvemyproblemplease

    Joined:
    Jul 2, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    hong kong
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you advise what I need to do to fix this? Thanks!


    /etc/shadow has non default permissions. Expected: 0200 0600, Actual: 0400. Review the permissions on /etc/shadow to ensure they are safe
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    This should do the trick:

    Code:
    chmod 600 /etc/shadow
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The command on the previous post should help. Let us know if you have any additional questions.

    Thank you.
     
Loading...

Share This Page