Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linux Add User and SAMBA
Message
 
To
06/11/2000 09:04:39
General information
Forum:
Linux
Category:
SAMBA
Miscellaneous
Thread ID:
00438294
Message ID:
00438397
Views:
9
>I have my Linux box set up with SuSE 7. I have SAMBA configured where my Win2K machine can see it in My Network Places. I can also ping the IP address (PING 192.168.0.4) of the Linux box and I can ping the name (PING SERVER) from the Win2K machine.
>
>What I want is very simple...I think. This is a home network, so security is not a big issue. I want to have a public folder where shared files can be stored and private folders for each user.
>
>How do I add users to the Linux and SAMBA configuration to accomplish this?

You have a couple different options here. You can either create your shares so that they are publically readable and writeable by anyone (pcguest), or you can setup individual users that have those rights. Is the SuSE box your gateway? Meaning, how are these machines connected to the internet? Or are they at all? If they aren't, great (security wise). If they are, and the SuSE box is the gateway, you can just turn off Samba on the external interface and use 'PCGuest' users. If the Win2k machine is the Gateway, then you should probably setup users so that you have at least a little bit of security from the outside world.

For guest accounts:

[public]
Comment = Public share accessible by anyone.
Path = /path/to/this/share/directory
Guest ok = yes
Public = yes
Browseable = yes
read only = no
writable = yes

For individual users:

Add Samba users with the 'smbpasswd' utility.

[public]
Comment = Public share accessible by valid users.
Path = /path/to/this/share/directory
Guest ok = no
Public = no
Browseable = yes
read only = no
writable = yes
valid users = djurden jbnance


This is assuming your global config is correct. If you have problems, post em.

j
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform