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.

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:
    1
    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:
    6
    Hello.

    You can check the permissions to 755.
     
  3. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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.
     
  4. alpc360

    alpc360 Active Member

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

    rhenderson Well-Known Member

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

    I meant chmod 4511 /usr/bin/passwd I was thinking something different
     
    #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:
    8
    Location:
    Southern California
    No its not... its 644. I really hope you were joking, but someone would change it.

     
    rhenderson likes this.
  7. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    I was thinking of a different file, I have edited my post, thanks!!
     
Loading...

Share This Page