fred wrote: > > I need to be able to log all ftp accesses (including what files pulled) to > both a Solaris 7 box and a tru64 4f box. > > Can anyone help or point me in the right direction please > > E-Mail asharris@ordsvy.gov.uk please You can try this (from sunsolve.sun.com INFODOC ID: 11991): BTW, always try SunSolve first, it really has a lot of good information... /Thommy M. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3.3: How to Start Logging with FTP? You can log ftpd connections, which tell you which hosts have connected to your system using this procedure. STEP 1: add the -l option to ftpd in the /etc/inetd.conf file as follows: ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -l (This is the line from the Solaris inetd.conf SunOS is very similar, though the location of in.ftpd is different.) STEP 2: You will also need to modify syslog.conf by adding the following line (make sure you use TABs and not SPACES - especially if you cut and paste this line): daemon.info /var/adm/ftp.log STEP 3: Create the /var/adm/ftp.log file: touch /var/adm/ftp.log STEP 4: Restart both inetd and the syslogd: %%%% kill -HUP inetd-pid %%%% kill -HUP syslog-pid ftp should begin logging to /var/adm/ftp.log immediately. If you have other daemons which also log information messages, you will find that they get logged to this file as well. If this is the case, you will probably want to turn off informational messages on your other daemons by default standard Solaris daemons will not log informational messages. You can view more detail on ftp logins to an FTP server. SunOS ftpd logs into /var/adm/wtmp. Solaris ftpd logs into /var/adm/wtmpx. You do NOT need to enable the ftpd logging described above. You can view this detailed info using the "last" command. Here is some example output from last grep ftp on Solaris: hackley ftp mercedes Tue Apr 2 10:52 - 10:52 (00:00) hackley ftp mercedes Thu Mar 28 10:30 - 10:30 (00:00) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- Thommy M. Malmstr�m Hardeberga Kyrkby 415 SE-247 91 S�dra Sandby, Sweden http://home.swipnet.se/greco mailto:Thommy.M.Malmstrom@swipnet.se