Linux - Newbie This 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! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-16-2017, 08:29 PM
|
#1
|
Member
Registered: Mar 2017
Posts: 64
Rep:
|
Sharing files between Linux.. some instances of Windows.
Hey everybody!
As many of you probably already know, in very new to Linux... I'm looking for recommendations on how to share files.
I mostly need to share between just Linux machines, but will have the occasional Windows laptop connect to the network that will need access as well..
I'm thinking I will need to setup Samba? Do you guys have any tips for me? I probably don't need to make the files private (requiring a username and password) as they aren't confidential files. But if this is the method I should use, how will I create accounts? Would I have to actually create a user account on the system?
I'm assuming these files would be shared using a network folde if I go the samba route?
Is it better to setup an actual file server? There shouldn't be more than 1GB that needs to be shared so I'm thinking I can just set this up on the box that serves the printer.
Any help or recommendations are greatly appreciated...
Thanks
|
|
|
07-16-2017, 08:37 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,590
|
Yes, you will need to set up Samba to enable file-sharing access between Linux and Windows machines.
A web search for " set up samba" will reveal many tutorials, too many for me to pick one to recommend. Some distros include GUI tools in their control centers for enabling samba sharing.
|
|
|
07-16-2017, 08:41 PM
|
#3
|
Member
Registered: Mar 2017
Posts: 64
Original Poster
Rep:
|
Thanks for the reply... I'm sure I'll be able to find documentation to help me get going... I'm really looking for tips things to avoid during setup...
Thanks again!
|
|
|
07-16-2017, 08:59 PM
|
#4
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
Hi! A couple search keywords you might add are: simple|beginner|tutorial "no password"
A couple config questions: are you sharing only specific directories? Writeable by world=any=all?
(one "trick hack" I saw was to make everything under shared-dir writeable by guest user nobody!)
Good luck. When done, post a solution for future searchers to use!
|
|
|
07-16-2017, 09:17 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,590
|
Or you could follow the link in my post . . . .
|
|
|
07-18-2017, 10:05 AM
|
#6
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,892
|
Samba is, by now, a very full-featured SMB-client implementation that Microsoft knows all about (and, has contributed to), because it is used on Windows networks worldwide.
Although Windows by now also "talks other network languages," such as NFSv4, I happen to think that it works best with its own networking stack: SMB. Although "Windows has come a long way," it is still a very tightly-integrated system with dependencies and issues hidden all over the place which are really not worth confronting.
You should be careful to set up Linux so that it understands and abides by all of the security provisions of the Windows host network. (For instance, if you're using Open Directory based authentication, which is simply LDAP under the hood, Samba understands all of that, too.) Linux can and should be a full participant in the Windows-hosted network.
Last edited by sundialsvcs; 07-18-2017 at 10:06 AM.
|
|
|
All times are GMT -5. The time now is 11:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|