|
Code listing 5.5. Activating Telnet support under Fedora Core.[chrish@dhcppc1 ~]$ cd /etc/xinetd.d [chrish@dhcppc1 xinetd.d]$ sudo vi krb5- telnet . . . [chrish@dhcppc1 xinetd.d]$ ps -ax | egrep xinetd Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQm 2032 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid 20162 pts/2 S+ 0:00 egrep xinetd [chrish@dhcppc1 xinetd.d]$ sudo kill HUP 2032 The Telnet protocol is the default for insecure remote access. Using the Telnet command, users of almost any system can connect to Unix systems and run interactive shells. However, Telnet is insecure because it's not encrypted. Everything you type in a Telnet session is sent across the wire exactly as you type it, including your password. Later we'll look at a secure replacement for Telnet. When someone accesses a computer through Telnet, he or she logs in using his or her normal user ID and password for that system. If you don't have a user ID and password there, you can't log in. Code listing 5.6. Activating Telnet support under Mac OS X.bender:~ chrish$ cd /etc/xinetd.d bender:/etc/xinetd.d chrish$ sudo vi telnet Password: . . . bender:/etc/xinetd.d chrish$ sudo kill -HUP $(cat /var/run/xinetd.pid) To enable Telnet access (xinetd)Fedora Core and Mac OS X use the xinetd super-server to control Telnet access.
To enable Telnet access (inetd)FreeBSD and Cygwin use the inetd super-server to control Telnet access.
Tip
sudo kill -HUP $(cat /var/run/xinetd.pid) |
|