Moxa DA-681-I-SP-LX [34/65] Disabling the telnet server

Moxa DA-681-I-SP-LX [34/65] Disabling the telnet server
DA-681 Linux Managing Communications
3-4
Disabling the Telnet Server
Disable the daemon by typing “#” in front of the first character of the row to comment out the line. For example,
to disable the Telnet server, use the following commands:
discard dgram udp wait root /bin/discard
discard stream tcp nowait root /bin/discard
telnet stream tcp nowait root /bin/telnetd
After you finish writing or modifying the code, remember to execute “umount /” to change the root directory
back to Read-only mode.
MOXA:~# umount /
FTP Server
Refer to the following commands to enable or disable the FTP Server service.
Enabling the FTP Server
Use the following command to enable the FTP server.
Moxa:~# /etc/init.d/proftpd start
Starting ftp server: proftpd.
Use the following command to confirm if the FTP has been started.
Moxa:~#ps aux|grep proftp
If profptd string has appeared, the FTP server has been started.
Disabling the FTP Server
Use the following command to disable the FTP server.
Moxa:~# /etc/init.d/proftpd stop
Stopping ftp server: proftpd.
To confirm if FTP has been disabled, use the following command.
Moxa:~# ps auxgrep proftp
If profptd string has not appeared, the FTP server has been disabled.
DNS Client
The DA-681-LX supports DNS client (but not DNS server). To set up DNS client, you need to edit three
configuration files: /etc/hostname, /etc/resolv.conf, and /etc/nsswitch.conf.

Содержание

Похожие устройства

Скачать