Eve-NG MacOS Error – Could not create a new process and open a pseudo-tty.

[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

  1.  Reboot MacOS
  2. Before the Apple Logo appears, press CMD+r
  3. When the GUI comes up, Select “Utilities” then “Terminal”
  4. When the command prompt opens, type in “csrutil disable
  5. 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

  1.  Reboot MacOS
  2. Before the Apple Logo appears, press CMD+r
  3. When the GUI comes up, Select “Utilities” then “Terminal”
  4. When the command prompt opens, type in “csrutil enable
  5. Reboot