Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
OK, i have a samba share where everyone connects anonymously since they aren't prompted for a username/password from their PCs. Somehow the same file keeps reappearing over and over in a folder where all new files get sucked out of. How do i tell who's putting that file in the folder every 2 minutes. can i tell an IP or anything?
i have a samba share where everyone connects anonymously since they aren't prompted for a username/password from their PCs.... [SNIP]
It looks like you are running a completely "open" system.
Are you really that surprised that mysterious files are being up / down loaded?
Do you have any idea of what the implications of this might be?
Time to read up on security, access rights, mail relays, and all I think.
If your computer is connected to the Internet, you need to learn how to lock it up and prevent others from taking advantage from you.
Please get busy before your ISP disconnects you for relaying spam, or worse.
Well, its an internal system, and it wasn't really a mysterious file, it was an internal file. it ended up being stuck in a file moving process on another server, it couldn't delete the original file so it kept moving it to this server. I guess I was more just curious as to if there was a way to tell from the server getting the file where it actually came from.
And yes I agree having it open like that is a bad idea, but that's how I inherited it.
Then you should setup some security for the system. It would be embarrassing and possible fatal for you and your company or boss. Not that difficult to harden a system. Do a search here on LQ as this very subject has been covered many times.
Thanks. I definitely do plan on hardening the system. But in the meantime, is there actually an answer to the question I asked? My guess is no based on the lack of response to my actual question. I do appreciate the posts about how wrong this setup is, hopefully it helps someone who doesn't know better about securing a server.
The short answer is no, files do not contain any info about where they came from... especially if all users are anonymous.
I don't know if the samba server can be induced to log all accesses, specifically which files created when/where... maybe ...
I have not played with samba log levels but the higher you go the more verbose they become (and much much bigger in size). You might be able to match an IP address to the share where the file is being written. You can create log files for each IP address too.