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!

Locked out from server...

Discussion in 'General Discussion' started by areh, Nov 3, 2007.

  1. areh

    areh Active Member

    Joined:
    Jul 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    156
    Hi

    Is there anyway I can get access back to the system?

    The stupid thing I did was chmod 644 -R /home/ *.php, now, I can't log in as root or any user (password deny)..
    I'm stilled logged in as root, but I get permission denied to even do "top", chmod and ls...
     
  2. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    166
    have you tried to create a new whell user in the WHM or change root password through whm then use SSH to try to restore /home permissions?

    in fact i dont know what relation it has /home with /root or suid

    are you sure that has something to be with this 644 -R at /home ?

    do you have telnet working?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mgsnnetworks

    mgsnnetworks Well-Known Member

    Joined:
    Sep 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Rhyl, North Wales, UK
    If the worst comes to the worst, as the NOC to boot the server to single user mode, and get them to sort the problem out that way. Another thing I do, is make a back door, a user that no one would guess and give it wheel access and use that if the worst comes to the worst, I can still get into the server.
     
    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