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!

removed /usr/local/cpanel/bin/noshell by accident

Discussion in 'General Discussion' started by ethical, Jun 23, 2011.

  1. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    86
    Likes Received:
    4
    Trophy Points:
    58
    in the process of trying to setup rssh I accidentally removed the default cpanel noshell file. Is there a way i can get this fileto restore it in case i need it again?

    Thanks

    John
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello John,

    I moved /usr/local/cpanel/bin/noshell to /usr/local/cpanel/bin/noshell.bak location, then I ran a forced cPanel update with this command:

    Code:
    /scripts/upcp --force
    The cPanel forced upgrade placed a new copy of that file into /usr/local/cpanel/bin location. As such, I would simply suggest running a forced cPanel update on the machine

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    86
    Likes Received:
    4
    Trophy Points:
    58
    thanks so much!!
     
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