LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2002, 10:22 AM   #1
moetjojo
Member
 
Registered: May 2002
Location: Edinburgh, UK
Distribution: SuSE Pro 8.0
Posts: 30

Rep: Reputation: 15
Question proftpd logging question


Is there a log to check what files users are currently downloading?

xferlog shows me completed downloads and messages shows me users currently connected (or is there a better way to see users connected?) but how can I tell what files users are downloading?

Also I tried symbolic linking to folders but windows ftp clients appear to show the link as a file and not a folder - how do I correct this?

One last query - I have a shell script set up to mount windows shares using smbfs which works fine however it asks for my password for each shared folder - is there a way of automating this process?


Thanks in advance,

Joe
 
Old 07-23-2002, 10:29 AM   #2
turnip
Member
 
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
lsof |grep proftpd|less or lsof |grep <ftpusersname>|less

one of those entires will show what file they are getting in real time.

ps -ef |grep proftpd| less will show people loged in.

One last query - I have a shell script set up to mount windows shares using smbfs which works fine however it asks for my password for each shared folder - is there a way of automating this process?

mount -t smbfs -o username=<blah>,password=<blah> //netbiosname/sharename /mountpoint

Last edited by turnip; 07-23-2002 at 12:03 PM.
 
Old 07-23-2002, 05:14 PM   #3
moetjojo
Member
 
Registered: May 2002
Location: Edinburgh, UK
Distribution: SuSE Pro 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
wicked - thx a lot
 
Old 07-24-2002, 02:37 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Instead of scanning which files are open with the lsof you could also use the utility that comes along with proftpd. It's called ftpwho. It will show information about each connected user and the files they are downloading. It will even show the percentage completed which the lsof command won't.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logging in proftpd compu73rg33k Linux - Software 7 05-08-2004 11:09 PM
logging in question BajaNick LQ Suggestions & Feedback 4 02-07-2004 07:41 AM
Logging question JROCK1980 LQ Suggestions & Feedback 4 11-09-2003 02:29 PM
proftpd question kinkybullet Linux - Newbie 14 07-17-2003 08:09 AM
Proftpd question Mithrilhall Linux - General 2 03-22-2002 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration