Solved

logging ftp access

Posted on 2004-04-18
7
707 Views
Last Modified: 2013-12-27
hi
 i am having a sf v880r with solaris 8 ,release 2/02, patch level 27.....
i have implemented tcpwrapper which is logging  from which ip a  ftp request has come ...
i want to implement ftp logging.. i.e. a log of  all the activities during a users session ...
regards
red
0
Comment
Question by:redim
  • 2
  • 2
7 Comments
 

Expert Comment

by:Sandeep_Shenoy
ID: 10852736
enable auditing and accounting. use bsmadm and acctadm to setup users for auditing and accounting. Hope this helps..

regards
Sandeep SHenoy
0
 

Author Comment

by:redim
ID: 10852881
hi sandeep
cld you explain or point me to a tutorial abt enabling these & configuring them for ftp logging
regards
red
0
 
LVL 1

Accepted Solution

by:
mdhmi earned 125 total points
ID: 10861020

An easy way to implement FTP logging:

/etc/inetd.conf

Add "dl" as option to ftp in /etc/inet/inetd.conf

Default config:
ftp      stream      tcp6      nowait      root      /usr/sbin/in.ftpd      in.ftpd -a

Change that to
ftp      stream      tcp6      nowait      root      /usr/sbin/in.ftpd      in.ftpd -ald

Syslog.conf:
daemon.debug            /var/adm/daemon.debug

pkill -HUP syslogd

Regards,

Mark

0
 

Author Comment

by:redim
ID: 10862484
hi mark,
 will this enable me to log user activity (eg file deletion, mput,mget etc ..)  during login.

regards
red
0
 
LVL 1

Expert Comment

by:mdhmi
ID: 10864120

Yes.

Mark

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IBM flash storage 840 15 67
Compare if date string is within text file 3 65
Virtualizing TAPE on dual VIOS 3 102
Bash Script to Analyze Oracle Schemas 11 117
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question