Solved

logging ftp access

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

937 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

3 Experts available now in Live!

Get 1:1 Help Now