Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im relatively new to linux. I am building my first samba server for a three workstation system at home. It is behind two chained firewall/routers (one is essentially a switch for two of the computers).
I wanted to find out: what are the minimum services required for me to run this server. Do I need anything other than smb. Should I run any other services? I was to chicken to just shut them all off and find out. Besides, there is actually a lot of services running by default. Some of them are printer related (?cups) and I was thinking of leaving those on but I want to get the file server running first before I start using it for printer sharing (if I ever do).
First of all, it would be helpful to know what distribution you are running, so that people can tell you how to check what is running, shut things down, etc.
Beyond that, you don't need anything but Samba running to actually work as a file server for Windows clients. You should however have some method available for controlling the machine remotely, so the majority of people also run SSH on there with strong passwords and a proper configuration.
Samba also includes a web-based authentication application called SWAT, which is pretty nice, but is also a security risk since it requires you to authenticate over HTTP. I personally would not suggest running SWAT if you are very concerned about security.
Pretty much just smbd and nmbd for Samba. You could do a bare minimum OS install, add Samba and see where you end up. I've got Samba running on a NetBSD box and I think there's only a total of 9 processes running (just Samba, kernel stuff, and SSH!).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.