[Command not found: telnet] [Could not create a new process and open a pseudo-tty.]
When I was using my Macbook Pro to telnet into the routers in my lab, I would get the errors above.
The reason for the error in MacOS is because you need to create a SYMLINK for the telnet app into the /usr/bin directory. If it’s not there, URLs calling the terminal will not work. Apples SIP (System Integrity Protection) prevents this. You need to disable SIP, change the read-only permission, create the SYMLINK, and then re-enable SIP.
DISABLE SIP
- Reboot MacOS
- Before the Apple Logo appears, press CMD+r
- When the GUI comes up, Select “Utilities” then “Terminal”
- When the command prompt opens, type in “csrutil disable“
- Reboot
#ADD A SYMLINK TO /usr/local/bin/telnet IN /usr/bin/
When the Mac boots into the OS, go into the terminal and type the two commands below.
sudo mount -uw / sudo ln -s /usr/local/bin/telnet /usr/bin/
Note:
After the reboot, you system will go back to read-write.
ENABLE SIP
- Reboot MacOS
- Before the Apple Logo appears, press CMD+r
- When the GUI comes up, Select “Utilities” then “Terminal”
- When the command prompt opens, type in “csrutil enable“
- Reboot