LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-23-2006, 01:15 PM   #1
Ziggie
Member
 
Registered: Nov 2005
Distribution: Red Hat AS 3
Posts: 49

Rep: Reputation: 15
Samba/VSFTP Logging


It's me again, the one with the questions no one seems to be able to answer. Got some more:

I have a user (maybe more) who is deleting files from my Samba shares. They are either doing this via Samba (Windows Networking) or via FTP. They do not have console access.

Samba logs at level 2 with who opened and closed what file. Level 3 has a lot of detail, but I didn't see anything in it (though it was a lot) that says they deleted the file (I tested it with a file I purposefully deleted).

Likewise, via VSFTP I can't even interpret the log file to see who is doing what to what file. I see what files they've touched and /or accessed, but don't know what the rest of it means.

Any suggestions?
 
Old 02-25-2006, 08:59 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
If you don't want particular files deleted, invoke the sticky bit. It allows users to edit, execute but not delete. It sounds to me though someone is deleting by vsftpd, which probably isn't logged by default. Not even sure if you can enable it, try reading up on their docs though.
 
Old 02-27-2006, 08:48 AM   #3
Ziggie
Member
 
Registered: Nov 2005
Distribution: Red Hat AS 3
Posts: 49

Original Poster
Rep: Reputation: 15
I'm curious why you think it's being done via VSFTP?

I have enabled logging on VSFTP following their documentation. It now shows me who deleted what and when.

As far as the sticky bit, one) How would I do that? And two) there are some users who need to be able to delete certain files....can this be done with the "sticky bit"?
 
  


Reply



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 [Samba] muppski Linux - Networking 1 11-11-2004 06:52 PM
vsftp logging sopiaz57 Linux - General 1 08-27-2004 08:33 PM
Verbose vsFTP Logging?? (eek!) BSCItech Linux - Networking 6 08-26-2004 09:23 PM
vsftp, telnet, ssh, apache, samba chongluo Linux - Newbie 3 03-27-2004 08:59 PM
logging in on samba antken Linux - General 1 11-03-2002 07:36 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:15 AM.

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