Sponsored Content
Full Discussion: telnet and alias
Top Forums UNIX for Dummies Questions & Answers telnet and alias Post 9592 by shimb0 on Tuesday 30th of October 2001 02:50:22 PM
Old 10-30-2001
PxT,

My justification is this: there are a great deal of vulnerable services that run from within inetd in redhat (ftp, linuxconf, etc). I would just shutoff inetd, and run as standalone services because, at the minimum, this will require the admin to think about whether or not they actually need the service running. Lets say you need ftp. If you do not have inetd running, it will at least force you to get the latest FTP build (protecting against all the latest buffer overflows). I do not use telnet, ftp, or anything that requires to be run out of inetd.

you can use ssh instead of telnet
you can use scp instead of ftp

But that is just my two cents.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

telnet and alias

Linux question, upgraded from Linux 6 to 7.1. BUT on the upgrade we lost the DNS config, the alias vitual host and a virtual host email address. So question is how do i get them all back? I ran the ifconfig eth0:1 ip.ad.dr.ess whic created the vitual host and ip address but when i reboot it... (1 Reply)
Discussion started by: ollyparkhouse
1 Replies

2. UNIX for Dummies Questions & Answers

Alias

Hello, I'm a beginner to Unix and I want to create an alias that lists the given directory in long format; the alias should use a pager to display the result. Thanks in advance. (2 Replies)
Discussion started by: guelpth
2 Replies

3. UNIX for Advanced & Expert Users

using alias...

hi.. i want to make an alias in unix, for using it to change of directory by example: if i am in /dtmp/inp/aux and i want to go to /sybase/bd, i want to make an alias named "bd", to go directally to /sybase/bd (alias bd="cd /sybase/bd") i create it, but when i turn off the conection... (2 Replies)
Discussion started by: DebianJ
2 Replies

4. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

5. UNIX for Dummies Questions & Answers

alias help

Hello again, what does \!* do int his line alias lookup 'grep -i \!* who.is.who' Thanks! (1 Reply)
Discussion started by: kris888
1 Replies

6. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

7. UNIX for Dummies Questions & Answers

ALIAS

how to make alias perament? I have edited in .bashrc also but no use:(.How to manke it perament (3 Replies)
Discussion started by: kkalyan
3 Replies

8. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

9. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
inetd.conf(4)						     Kernel Interfaces Manual						     inetd.conf(4)

NAME
inetd.conf - configuration file for inetd DESCRIPTION
On invocation, the daemon reads its configuration information from the configuration file, and possibly at some later time in response to a signal (see inetd(1M)). Each line in the file is treated either as a comment or as configuration information for a given service Comments are denoted by a at the beginning of a line. Noncomment lines contain seven or nine required fields, depending on the service name specified in the first field. Fields are separated by tabs and/or spaces. A line can be continued if it terminates with a Each configuration line in the file contains the following fields in the order indicated: o service name o socket type o protocol o o user o server program o program number (NFS RPC services only) o version number (NFS RPC services only) o server program arguments Fields are constructed as follows: service name if the server is RPC-based (NFS); otherwise, the name of a valid service in file For example, for the service (see remsh(1)), for the service (see rlogin(1)), and for the service (see telnet(1)). socket type or depending on whether the server socket is a stream or a datagram socket, or intended for a program built using the XTI API. protocol Must be a valid protocol as given in for example, or For an XTI service, the protocol field is treated as: o A network_ID for an RPC service, (see netconfig(4)). o A device name in the directory for a non-RPC service. For example, if is specified, the path will be used. For IPv6 applications the protocol is specified as either or Specifies whether should act as a single- or multi-threaded server. Instructs to start one server to handle an incoming request, and cease listening for new requests for the same service until the server that started has exited. Same as but instructs to expect the server to accept the incoming request. Instructs to start one server for each incoming request. Most UDP-based services use for this field, while TCP-based services use user User ID to be used when the server is running. server program Absolute path name of the program executed by when it finds a request on the server's socket. server program arguments Arguments to the server program. The same as in normal use, starting with which is the name of the program. If service name is (NFS RPC services), two extra fields are required. They must appear between the server program field and the server program arguments field: program number Defines a particular service grouping and is unique. version number Version supported by the RPC service. This number can be a single value, or a range, if the program handles multiple versions; for example, or Ranges are separated by a hyphen Version numbers allow RPC protocols to be extended and modified, and make it possible for old and new protocols to share the same server process. Built-in inetd Services The daemon provides several "trivial" services internally by use of built-in routines (see inetd(1M) for a list of these services). To configure an internal service, specify as the server program name, and omit the server program arguments field. EXAMPLES
Configure the service to use TCP protocol, and run the server as user The above is an example of the remsh utility run in the IPv4 mode. To run the above utility in the IPv6 mode, the protocol must be changed to Thus the above configuration is re-written as below to run in mode. Configure the FTP server to timeout an inactive session after 75 seconds. The above ftp service can be run in IPv6 mode using the configuration shown below: Configure an RPC-based service. Note that the service name field contains and two more fields are used: the program number(100008) and version number(1). Configure to use the built-in TCP service. AUTHOR
was developed by the University of California, Berkeley. NFS was developed by Sun Microsystems, Inc. SEE ALSO
inetd(1M), exec(2), fork(2), inetd.sec(4), protocols(4), services(4). inetd.conf(4)
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy