SOLVED IncrediblePBX 2021 - Remove ssh command Line Warning

aroundi

Member
Joined
Jul 6, 2017
Messages
33
Reaction score
4
Hello,

Can someone point me to the correct configuration file where I can remove "WARNING: Always run Incredible PBX behind a secure firewall." from above the command line prompt?

I've done this before and can not find the post I referenced.

Thanks
 
remove "WARNING: Always run Incredible PBX behind a secure firewall." from above the command line prompt?
This will remove that "WARNING:
Code:
#!/bin/bash
echo "If your pbx is not behind a secure firewall, you should not remove the WARNING: ..."
read -p "To proceed solely at your own risk, press Enter. Otherwise, Ctrl-C to abort."
sed -i 's|/root/update-I|# /root/update-I|' /root/.profile
sed -i 's|export|#export|' /root/.bash_profile
echo '/root/update-IncrediblePBX && /usr/local/sbin/pbxstatus' >> /root/.profile
 
Last edited:
Hi Ostridge,

I Looked in /root/.profile and in .bashrc - no joy. Am I missing something?
 
It is in /root/.bash_profile . Comment out this line:
Code:
export PS1="WARNING: Always run Incredible PBX behind a secure firewall.  \n\[$(tput setaf 2)\]\u@\h:\w $ \[$(tput sgr0)\]"
 
/root/.bash_profile
Incredible PBX 2020.3 for Raspberry Pi 2B
*Raspbian 10 buster* Asterisk 16.7.0 Incredible GUI 15.0.12.55 (also on Incredible GUI 15.0.12.58 )
Bash:
root@incrediblepbx:~# ll /root/.bash_profile
ls: cannot access '/root/.bash_profile': No such file or directory
 
As the OP did not specify what hardware he has, the response is for VPS or PC hardware--not for the Raspberry Pi. Apparently, it worked for his situation.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top