Administration Reference


[Return to Library] [Contents] [Previous Topic] [Bottom of Topic] [Next Topic] [Index]

inetd (AFS version)

Purpose

Initializes the Internet service daemon

Synopsis

inetd [-d]  [<configfile>]

Description

The AFS-modified inetd program functions like the standard UNIX inetd program, but also enables users of the remote services it supports to access them as authenticated AFS users, provided that the supported services are also AFS-modified versions that pass AFS tokens (authentication information). Examples of supported services are the rcp and rsh programs.

The AFS inetd program can service the standard UNIX versions of the remote services, but it is instead recommended that the standard UNIX version of the inetd program be run in parallel with the AFS version. Name the AFS version something like inetd.afs and use it to service requests from AFS-modified programs; use the standard inetd program to service requests from standard UNIX programs. This separation requires using two different inetd.conf files, as described in the following section.

Cautions

Several configuration changes are necessary for token passing to work correctly with the AFS version of the inetd program. There are possibly other UNIX-based requirements or restrictions not mentioned here; consult the UNIX manual page. (One important restriction is that there can be no blank lines in the configuration file other than at the end.)

The requirements and restrictions include the following. They assume that the inetd.afs process is running in parallel with the standard inetd process.

Options

See the UNIX manual page for the inetd program.

Examples

The following are sample inetd.conf.afs and inetd.conf files, appropriate for use when the inetd.afs program is running in parallel with the standard inetd and AFS-modified login utilities are being used in the cell. Changes to the standard inetd.conf file include referencing the AFS version of the ftpd binary and commenting out the shell and login lines. The example inetd.conf file does not include the extra fifth column. Do not use these examples without modifying them appropriately for the local machine type or cell.

   # AFS version of Internet server configuration database 
   #(EXAMPLE ONLY)
   #
   ta-rauth stream tcp nowait root internal           ta-rauth
   shell    stream tcp nowait root /usr/etc/rshd      rshd
   login    stream tcp nowait root /usr/etc/rlogind   rlogind
   
   # Standard version of Internet server configuration database 
   #(EXAMPLE ONLY)
   #
   ftp	  stream tcp nowait /etc/ftpd.afs   ftpd.afs
   telnet stream tcp nowait /etc/telnetd    telnetd
   #shell stream tcp nowait /etc/rshd       rshd
   #login stream tcp nowait /etc/rlogind    rlogind
   finger stream tcp nowait /usr/etc/fingd  fingd
   uucp	  stream tcp nowait /etc/uucpd	    uucpd
   exec	  stream tcp nowait /etc/rexecd	    rexecd
   comsat dgram	 udp wait   /etc/comsat	    comsat
   talk	  dgram	 udp wait   /etc/talkd	    talkd
   ntalk  dgram	 udp wait   /usr/etc/ntalkd talkd
   time	  dgram	 udp wait   /etc/miscd	    timed

Privilege Required

See the UNIX manual page for the inetd program.

Related Information

rcp (AFS version)

rsh (AFS version)

UNIX manual page for inetd


[Return to Library] [Contents] [Previous Topic] [Top of Topic] [Next Topic] [Index]



© IBM Corporation 2000. All Rights Reserved