home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ibm / pc / rt / 744 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

  1. Path: sparky!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!antimatr!markw
  2. From: markw@antimatr.hou.tx.us (Mark Whetzel)
  3. Newsgroups: comp.sys.ibm.pc.rt
  4. Subject: Re: Anonymous ftp on an RT
  5. Summary: Logging is turned on by the -i option
  6. Message-ID: <93@antimatr.hou.tx.us>
  7. Date: 27 Jan 93 12:17:29 GMT
  8. References: <1993Jan26.132008.19373@comp.lancs.ac.uk>
  9. Organization: StarTrek and Lionel trains fan, Missouri City, TX
  10. Lines: 27
  11.  
  12. In article <1993Jan26.132008.19373@comp.lancs.ac.uk>, gbs@comp.lancs.ac.uk (Gareth B Smith) writes:
  13. > I used the shell script to create an anonymous ftp account on my RT.
  14. > Is there any way I can keep track on this account, such as
  15. > when someone logged in, where from, what did they give as the password,
  16. > etc. anything at all really.
  17.  
  18. According to the RT TCP/IP book SC23-2005-1, the -i option to the
  19. ftpd command turns on logging.  All logging of ftp traffic.
  20.  
  21. Edit the /etc/inetd.conf file, and alter the line that reads:
  22. ftp        stream    tcp    nowait    root    /usr/lpp/tcpip/etc/ftpd    ftpd
  23.  
  24. to read:
  25. ftp        stream    tcp    nowait    root    /usr/lpp/tcpip/etc/ftpd    ftpd -i
  26.  
  27. and issue a kill -HUP to the inetd process. to re-read the config file.
  28.  
  29. Logging is performed via the syslog function call, and the /etc/syslog.conf
  30. file will have to be altered to actually save the logged data.
  31. Unfortunately, the book does not indicate the facility and error level
  32. that ftpd uses to perform it's logging, so a litte experimentation will
  33. have to be performed.
  34.  
  35. -- 
  36. M. Whetzel 
  37. Home: markw@antimatr.hou.tx.us        | IBM RT/125 running AIX 2.2.1 
  38. UUCP ..!uhnix1!lobster!antimatr!markw 
  39.