Samba newbie... Anyone got the time to take a look at my config?
Quite frankly I'm not only a freshman when it comes to samba, but I'm not that interested in getting an expert. Because the only reason I'm using it it lazyness. I could set up an FTP server or whatnot on my Raspberry to accomplish the same goals which are, essentially, just a few pushes and shoves of files and folders and tarballs every other day.
The only share that is involved is a folder named "/transfer" which is (a) a discrete partition (although mounted at boot time) and (b) owned by "root", group'ed to "sambausers", and set to 0770. The group "sambausers" is in no case a user's primary group, but they become explicitly added to the group per use-case. Members of the group "sambausers" are assigned "/bin/nologin" as their shell so they cannot login to the Raspberry locally or remotely via ssh. Users of the group "sambausers" will only belong to this group and their personal group (user "foo" -> group "foo"). My /etc/samba/smb.conf looks like this: Code:
[global] To make things short: Is this config for a device that "lives at home" most of the time sufficient? Anything weird? Unneeded? Missing? Thanks in advance for any hints etc., AND HAVE A MERRY CHRISTMAS EVERYONE! *<:-{)} |
Does it work for you?
|
Quote:
Nevertheless, have a merry xmas! |
You say it's on a private Ethernet interface?
If so, the solution is not in SAMBA configuration but configuration your system where it will not allow traffic from the public Ethernet to get to your private Ethernet. Also because you've already limited SAMBA to that wired Ethernet, it will then not be available to the public one ... I'm assuming WIFI? |
Quote:
The thing is, "my Pi" is going to move to wherever I go, and perhaps even further. And I want to teach it to connect to whatever available internet access point if in need. Like it was urgently wanting to learn and communicate. Let's call it a slightly different approach to "Tell, don't ask". But anyhow, the question remains: Does my config look secure to you experts? |
Once again I feel the security of that interface is better handled at configuring that interface and not merely the Samba protocol. I see no problem with the Samba configuration. You've limited the users and the network interface that it gets used on.
|
All times are GMT -5. The time now is 09:12 AM. |