LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-20-2004, 09:52 PM   #1
linuxgamer
Member
 
Registered: Sep 2003
Distribution: SuSE, Linspire, Fedora, RH Enterprise
Posts: 89

Rep: Reputation: 15
share files with SuSE 9.0 and Windows XP


I am a newbie, please bear with me.

Is this a secure way to share files with SuSE 9.0 and Windowz XP?

A.
click YaST to open
click Network Services
click Samba Server
click Enable Samba Server
select File and printer sharing
type XP workgroup name
select Share Homes
click Advanced to add more directories
...click Edit and Add Mask for each shared directory, type 0777
...I had to change the Mask twice to get it to save
click Finish

B.
Bring up Terminal or Command prompt in SuSE
type su to become secure root user
type root password
type smbadduser nameofusertoadd
...I used the default admin user that I created
type/create a password for the new smb user

C.
Map the network drive to Windowz XP and login

If anyone has a better more secure method, please post
detailed instructions here. I would like to be able to
force Samba to accept connections only from certain IP
addresses on my internal home network if possible,
but as I said, I am a newbie.

Last edited by linuxgamer; 07-22-2004 at 12:39 AM.
 
Old 07-20-2004, 11:04 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
add to your smb.conf file in the global section:
allow hosts = 192.168.1.

or whatever your home subnet is, leave the last number off that will allow any number to connect
 
Old 07-22-2004, 12:41 AM   #3
linuxgamer
Member
 
Registered: Sep 2003
Distribution: SuSE, Linspire, Fedora, RH Enterprise
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks for the info Finlay, I may need to try that.
I also edited my post above to include the Mask comment.
I may need to work on getting SWAT to work, if it is available.
 
  


Reply



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
how to share files with windows Donb SUSE / openSUSE 6 11-28-2005 09:11 PM
Using files on a windows share castrox Linux - Software 1 01-26-2005 03:46 AM
How do I share files between Suse and Windows XP unmasterfulyoda Linux - Networking 1 06-07-2004 04:21 PM
How Do I Share Files With Windows? AFI_Flame Linux - Networking 15 05-11-2004 02:52 AM
cannot unmount a windows share files in use antken Linux - General 2 10-04-2003 06:32 PM

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

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