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.

Is this expected with jailshell?

Discussion in 'General Discussion' started by slor, Mar 24, 2013.

  1. slor

    slor Member

    Joined:
    Feb 17, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I wonder if the following example is simply an expected and normal side effect of commands running from jailshell:

    # less .bash_profile
    sh: /usr/local/cpanel/bin/jailshell: No such file or directory

    The command works, so it doesn't seem to break things, but the warning can be bothersome. I assume this comes from the fact that the user's SHELL location isn't accessible from inside the shell. Is there a respectable method anyone uses to suppress the error messsage?

    thanks
     
  2. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you try unmounting the virtfs directory of this user?

    Try the above, then logout and login again.

    Cheers!!!
     
  3. slor

    slor Member

    Joined:
    Feb 17, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Tried it. The dir wasn't mounted.
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    It looks like its failing to mount. Please open a ticket using the link in my signature.
     
Loading...

Share This Page