To run the Interix versions of telnetd and rshd as Windows services

  1. Do one of the following:
  2. Edit the /etc/inetd.conf file to enable the Interix versions of telnetd(1) and rshd(1) by removing the pound sign (#) from the following lines:
    #telnet stream tcp nowait NULL /usr/sbin/in.telnetd in.telnetd -i
    #shell stream tcp nowait NULL /usr/sbin/in.rshd in.rshd -a
    
  3. Start an Interix command shell.
  4. To prevent inetd from running as a daemon, at the shell prompt type:

    cd /etc/rsh2.d
    mv S32inet X32inet

    The number in the file name might differ on your computer.

  5. To install inetd as a service, at the shell prompt type:

    service install -u username -s auto -p password /usr/sbin/inetd -s

  6. To start inetd as a service, at the shell prompt, type:

    service start inetd

Related Topics

*

Starting the Interix telnetd and rshd daemons

*

inetd.conf(5)

*

telnetd(1)

*

rshd(1)