Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does a logfile for ftp-commands exist under Solaris 8 ?

Status
Not open for further replies.

andimue

Programmer
Jun 29, 2001
18
DE
Hi,
I am wondering if there is an (system-)logfile where all ftp from and to a solaris 8 machine are logged ?
If it has to be configured can you please tell me how to .. ?

Thanks

Andi
 
Hi

From :

First modify /etc/inetd.conf and add -d and -l to the in.ftpd line:

ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -l -d

then restart inetd (I would also suggest using the inetd -t option).

Next change the /etc/syslog.conf file...

Change the line:
*.err;kern.debug;daemon.notice;mail.crit;user.none /var/adm/messages

To:
*.err;kern.debug;daemon.debug;mail.crit;user.none /var/adm/messages


GerV windows : reboot Unix : be root
 
Thanks GerV,

I tested what you mentioned and it works for incoming ftps but not for outgoing ftp. IMHO its too much logging. It would be enough if only success and failure would be logged, not all that ftp-details.
Maybe there are possibilietes to "configure" what you suggested ?

Thanks again

Andi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top