9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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. Shell Programming and Scripting
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
7. UNIX for Advanced & Expert Users
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Advanced & Expert Users
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
inetd.sec(4) Kernel Interfaces Manual inetd.sec(4)
NAME
inetd.sec - optional security file for inetd
DESCRIPTION
When accepts a connection from a remote system, it checks the address of the host requesting the service against the list of hosts to be
allowed or denied access to the specific service (see inetd(1M)).
The file allows the system administrator to control which hosts (or networks in general) are allowed to use the system remotely. This file
constitutes an extra layer of security in addition to the normal checks done by the services. It precedes the security of the servers;
that is, a server is not started by the Internet daemon unless the host requesting the service is a valid host according to
If file does not exist, security is limited to that implemented by the servers. and the directory should be writable only by their owners.
Changes to apply to any subsequent connections.
Lines in beginning with the pound sign are comments. Comments are not allowed at the end of a line of data.
The lines in the file contain a service name, permission field, and the Internet addresses or official names of the hosts and networks
allowed to use that service in the local host. The fields in each line are as follows:
service name { hostaddrs | hostnames | netaddrs | netnames }
Note: service name is the name (not alias) of a valid service in file The service name for RPC-based services (NFS) is the name (not alias)
of a valid service in file A service name in corresponds to a unique RPC program number.
determines whether the list of remote hosts in the next field is allowed or denied access to the specified service. Multiple lines for
each service are not unsupported. If there are multiple lines for a particular service, all but the last line are ignored.
Addresses (hostaddrs and netaddrs) and names (hostnames and netnames) are separated by white space. Any mix of addresses and names is
allowed. To continue a line, terminate it with backslash,
Host names and network names are the official names of the hosts or networks as returned by or respectively. Wildcard characters and range
characters are allowed. The and the can be present in any of the fields of the address. An address field is a string of characters sepa-
rated by a dot
Hostname resolution failure in may cause to delay the processing of connection requests. To avoid such delays, configure host/network
addresses instead of host/network names in the file.
EXAMPLES
Use a wildcard character to permit a whole network to communicate with the local host without having to list all the hosts in that network.
For example, to allow all hosts with network addresses starting with a as well as the single host with address to use rlogin:
On a system running NFS, deny host access to sprayd, an RPC-based server:
A range is a field containing a character. To deny hosts in network 10 (arpa) with subnets 3 through 5 access to
The following entry denies access to host any hosts on the network named and the host with internet address
If a remote service is not listed in the security file, or if it is listed but it is not followed by or all remote hosts can attempt to use
it. Security is then provided by the service itself. The following lines, if present in allow or deny access to the service indicated:
Allow all hosts to use
Deny all access to the service; i.e.,
Allow access to the service by any host:
or
IPv6 Functionality
For an IPv6 service, an IPv6 address can be specified in the host address field of The host address field can contain IPv6 addresses, IPv4
addresses, or both. This specification includes the IPv4 mapped IPv6 addresses also.
Host names for IPv6 services are the official names of the hosts returned by
The wildcard characters and range characters are not supported for IPv6 addresses. The equivalent for the wildcard character is provided in
the form of followed by a forward-slash and See the IPv6 Examples section for more details.
IPv6 Examples
To allow an IPv6 host with address and an IPv4 host with address in order to use the service, an entry in the file should be as follows:
The following entry denies access to all hosts with a prefix
AUTHOR
was developed by HP.
NFS was developed by Sun Microsystems, Inc.
FILES
SEE ALSO
inetd(1M), gethostent(3N), getaddrinfo(3N), getnetent(3N), hosts(4), inetd.conf(4), networks(4), protocols(4), rpc(4), services(4).
inetd.sec(4)