?
Solved

logging ftp access

Posted on 2004-04-18
7
Medium Priority
?
712 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

770 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