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.

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:
    79
    Likes Received:
    2
    Trophy Points:
    8
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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!
     
  3. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    79
    Likes Received:
    2
    Trophy Points:
    8
    thanks so much!!
     
Loading...

Share This Page