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