I have the need to add the LESS and MORE commands to a jailed-user. I've attempted the following and can't quite get it to work:
# which less;which more
/usr/bin/less /usr/bin/more
Now that I know where the binaries are, I do the following:
jk_cp -j /usr/jail /usr/bin/less
jk_cp -j /usr/jail /usr/bin/more
Then when I go to test it out I get the following:
su - jailed-user
less err.log
WARNING: terminal is not fully functional err.log (press RETURN)
Not sure what else I need to do to make this fully functional