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!

Unable read /etc/passwd

Discussion in 'General Discussion' started by alexisg_2007, Nov 27, 2008.

  1. alexisg_2007

    alexisg_2007 Member

    Joined:
    Jul 15, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    hello, my clients if they want to see what they cPanel ,next:

    Internal Server Error

    Unable read /etc/passwd. /etc/passwd MUST be world readable under UN*X operating systems.




    how can I fix it?
     
  2. alpc360

    alpc360 Active Member

    Joined:
    Mar 30, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    156
    Hello.

    You can check the permissions to 755.
     
  3. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    459
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Usually permissions for /etc/passwd are -rw-r--r-- or 644 in other terms. Changing the default permission is not recommended.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. alpc360

    alpc360 Active Member

    Joined:
    Mar 30, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    156
    Yes, but some distros take 755.
     
  5. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Editted:

    I meant chmod 4511 /usr/bin/passwd I was thinking something different
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #5 rhenderson, Dec 5, 2008
    Last edited: Dec 5, 2008
  6. bvierra

    bvierra Well-Known Member

    Joined:
    Jul 28, 2006
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Southern California
    No its not... its 644. I really hope you were joking, but someone would change it.

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    rhenderson likes this.
  7. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    I was thinking of a different file, I have edited my post, thanks!!
     
    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