Solved

logging ftp access

Posted on 2004-04-18
7
704 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now