?
Solved

logging ftp access

Posted on 2004-04-18
7
Medium Priority
?
714 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

650 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