If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Date: Fri, 12 Oct 2001 13:35:10 -0400
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: samba without user authentication? can this be done? only based on
References: <mssx7.30$Yt1.1102@nsw.nnrp.telstra.net> <U5Dx7.1446$s9.174030@news1.rdc1.nj.home.com> <InDx7.1451$s9.182450@news1.rdc1.nj.home.com>
"Brian K. White" wrote:
> > mkdir /usr/share/mp3
> > chown nobody:nobody /usr/share/mp3
> > cat >>/usr/local/etc/smb.conf <<%%
> >
> > [mp3]
> > path = /usr/share/mp3
> > read only = No
> > guest ok = Yes
> >
> > %%
> > cd /usr/local/etc/rc.d
> > ./samba.sh stop
> > ./samba.sh start
> >
> > I just did this and it's working. Except I used swat to make the changes
> to
> > the smb.conf file, and either it automatically restarts samba when
> > necessary, or this change does not require a restart, because I didn't use
> > swat to restart samba manually. So maybe you don't need the last three
> > lines, but they dont' hurt.
> >
> > I do get a password prompt when I first click on my new "mp3" share on the
> > bsd box in network neighborhood (actually my network places, since I'm
> using
> > win2k) but I just hit "cancel" without filling anything in and I am now
> > copying my mp3 directory tree from my win2k box to my bsd box without a
> > password or a user name. In real life, the files are being created owned
> by
> > user nobody (the default samba guest account), and I don't have write
> > permission anywhere but /usr/share/mp3 and below.
You can do it without any password at all if you set
[public]
comment = Public Stuff
path = /public
public = yes
writable = yes
--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more:
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 3 | 11 | 52 | 1,268 | 5,837 |
/Bofcusm/896.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments