LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-16-2017, 08:29 PM   #1
KMCarpenter
Member
 
Registered: Mar 2017
Posts: 64

Rep: Reputation: Disabled
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
 
Old 07-16-2017, 08:37 PM   #2
frankbell
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
Blog Entries: 28

Rep: Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221
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.
 
Old 07-16-2017, 08:41 PM   #3
KMCarpenter
Member
 
Registered: Mar 2017
Posts: 64

Original Poster
Rep: Reputation: Disabled
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!
 
Old 07-16-2017, 08:59 PM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
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!
 
Old 07-16-2017, 09:17 PM   #5
frankbell
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
Blog Entries: 28

Rep: Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221Reputation: 6221
Or you could follow the link in my post . . . .
 
Old 07-18-2017, 10:05 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,892
Blog Entries: 4

Rep: Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000Reputation: 4000
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sharing files between Windows and Linux bradab Linux - Newbie 3 09-27-2005 04:27 PM
Sharing Files between linux and windows invinciblegod Linux - General 4 07-27-2005 11:54 AM
Sharing files between Linux and Windows Bryanlee Linux - Newbie 4 07-21-2005 01:09 AM
need help sharing files between windows an linux? wisdom Linux - Software 3 12-28-2004 07:55 PM
Linux/Windows Partition and Sharing Files njschroe Linux - General 2 11-30-2004 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 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