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
# 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