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 Member

    Joined:
    Apr 7, 2009
    Messages:
    64
    Likes Received:
    1
    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 Active Member
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,621
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    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 Member

    Joined:
    Apr 7, 2009
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    thanks so much!!
     

Share This Page