home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8977 < prev    next >
Encoding:
Text File  |  1992-08-21  |  3.2 KB  |  75 lines

  1. Newsgroups: comp.unix.aix,comp.protools.tcp-ip
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!ief!ief!block
  3. From: block@ief.itg.ti.com (Bucky Block)
  4. Subject: Re: HELP with tftpd daemon on AIX, please
  5. Sender: block@ief.itg.ti.com (Bucky Block)
  6. Message-ID: <BLOCK.92Aug21090437@ief.itg.ti.com>
  7. In-Reply-To: wieder@interlan.Interlan.COM's message of 20 Aug 92 19:17:04 GMT
  8. Date: Fri, 21 Aug 1992 15:04:37 GMT
  9. References: <1992Aug20.191704.14074@interlan.Interlan.COM>
  10. Organization: IEF Developement, Texas Instruments Inc., Plano Texas
  11. X-Disclaimer: This message was written by a user at Texas Instruments Inc.
  12.               The opinions expressed within are those of the user and not
  13.               necessarily those of Texas Instruments.
  14. Lines: 59
  15.  
  16. In article <1992Aug20.191704.14074@interlan.Interlan.COM> wieder@interlan.Interlan.COM (Scott Wieder) writes:
  17.  
  18.    I need help configuring the tftpd daemon on an RS6000 running
  19.    AIX.  According to someone from IBM, AIX does not support a
  20.    default directory.
  21.  
  22.    Can someone tell me how to set up tftp boot on an RS6000 running
  23.    AIX?  I am specifically interested in knowing what is the default
  24.    directory or how to specify a home directory for the tftpd
  25.    daemon.
  26.  
  27.  
  28. From the tftpd man page: (AIX 3.2)
  29.  
  30. Access Control
  31.  
  32.   The /etc/tftpaccess.ctl file is searched for lines that start
  33.   with allow: or deny:.
  34.  
  35.   Other  lines  are  ignored.  If the file doesn't exist, access is
  36.   allowed.   The allowed directories and  files  minus  the  denied
  37.   directories and files can be accessed.  For example, the /usr
  38.   directory might be allowed and the /usr/ucb directory might be
  39.   denied.  This means that any directory or file in the /usr direc-
  40.   tory, except the /usr/ucb directory, can be accessed.  The en-
  41.   tries in the /etc/tftpaccess.ctl file must be absolute path
  42.   names.  The /etc/tftpaccess.ctl file should be write-only by the
  43.   root user.
  44.  
  45.   The search algorithm assumes that the local path name used in the
  46.   tftp command is an absolute path name.  It searches the
  47.   /etc/tftpaccess.ctl file looking for allow:/.  It repeatedly
  48.   searches for allowed path names with each partial path  name con-
  49.   structed by adding the next component  from  the  file path name.
  50.   The  longest path name matched is the one allowed.  It then  does
  51.   the  same  with  denied  names, starting with the longest allowed
  52.   path name matched.
  53.  
  54.   For example, if the file path name were /a/b/c and the
  55.   /etc/tftpaccess.ctl file contained allow:/a/b and deny:/a, one
  56.   allowed match would be made (/a/b) and no denied match starting
  57.   with /a/b would be made, and access would be allowed.
  58.  
  59.   If the /etc/tftpaccess.ctl file contained allow:/a and deny:/a/b,
  60.   one allowed match would be made (/a) and one denied match start-
  61.   ing with /a (/a/b) would be made, and access would be denied.  If
  62.   the /etc/tftpaccess.ctl file contained allow:/a/b and also con-
  63.  
  64. --
  65.  
  66. Bucky Block                         |     block@ief.itg.ti.com
  67. IEF Development                     |     TIMSG: BLOC
  68. Texas Instruments, Plano Texas      |     (214) 575-4732
  69.  
  70. -- 
  71.  
  72. Bucky Block                         |     block@ief.itg.ti.com
  73. IEF Development                     |     TIMSG: BLOC
  74. Texas Instruments, Plano Texas      |     (214) 575-4732
  75.