From owner-freebsd-questions Mon Jan 22 10:30: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail-gw.wamnet.com (mail-gw.wamnet.com [208.50.249.20]) by hub.freebsd.org (Postfix) with ESMTP id 4E35437B400 for ; Mon, 22 Jan 2001 10:29:49 -0800 (PST) Received: from ndm.wamnet.com([172.17.38.2]) (1854 bytes) by mail-gw.wamnet.com via sendmail with P:esmtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 22 Jan 2001 12:20:07 -0600 (CST) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-7) Received: from ds.cops.wamnet.com (ds.cops.wamnet.com [172.17.31.2]) by ndm.wamnet.com (8.9.1a/8.9.1) with ESMTP id MAA3192130; Mon, 22 Jan 2001 12:20:06 -0600 (CST) Received: from y.cops.wamnet.com (y.cops.wamnet.com [172.17.31.43]) by ds.cops.wamnet.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id MAA94324; Mon, 22 Jan 2001 12:20:05 -0600 (CST) Date: Mon, 22 Jan 2001 12:09:04 -0600 (CST) From: Lee J Carmichael X-Sender: lcarmich@y.cops.wamnet.com To: Igor Vieira Debacker Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Services In-Reply-To: <001e01c084a4$9433a750$502ca8c0@MMDSC.COM.BR> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Igor, You could change the /etc/services telnet entry from: telnet 23/tcp to: telnet 8000/tcp Or (this is what I would do) add a new entry to the /etc/inetd.conf like: mytelnet stream tcp nowait root /usr/libexec/telnetd telnetd and a line to the services like: mytelnet 8000/tcp And then just comment out the undesired telnet entry. This would make it clearer to other admins later down the road. (personally choice here). Thats my two cents, -------- Lee Carmichael WAM!NET Inc. System Engineer 655 Lone Oak Rd Building E 651-256-5292 Eagan, MN 55121 On Mon, 22 Jan 2001, Igor Vieira Debacker wrote: > Greetings, > > I have a question.. > > if i would like to change the telnet service port from 23 to 8000 for > example, what will i do ? what files should i change ? > > etc/services ? > > anything else ? > > thanx in advance.. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message