LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   guest access to a share in smb.conf ?? (https://www.linuxquestions.org/questions/linux-networking-3/guest-access-to-a-share-in-smb-conf-108812/)

ludeKing 10-26-2003 04:49 PM

guest access to a share in smb.conf ??
 
Ok, I am using LinNeighborhood and other pc's (win98, XP) can see my computer (Slackware9).

I would like to share a directory so that anyone can access it, ie there is to be NO login for them, just click it and it opens up. I do not want them to be able to write anything to this directory, just be able to see what I have in there, copy stuff from there and just have a look around basically.

I cannot get it setup this way! it always asks for a login and then gives me an error.

here is what I have for my share:

[public]
comment = public directory
path = /home/stevo/shared
readonly = yes
guest ok = yes
browseable = yes
public = yes
guest account = nobody

I then went and created the directory /home/stevo/shared and put stuff in it.

Is this correct? What do I have to change/add?

(This seems like an ongoing problem on this forum, so I'd like to make this the thread with all the answers...)

Thanks.

david_ross 10-27-2003 01:36 PM

Try:
[public]
comment = public directory
path = /home/stevo/shared
public = yes
guest account = nobody

Also make sure that the user "nobody" has read and execute access on the directory.


All times are GMT -5. The time now is 09:03 AM.