samba without authentication


What is this stuff?

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>


Hate these ads?



"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


M3IP inc.




--
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)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
311521,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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses



Twitter
  • Nov 20 07:43
    I took a random stab at the free upgrades and ordered a new cell phone. Didn't check features or reviews. Hope I don't hate it.
  • Nov 19 18:52
    We'll be spending just as much on holiday gifts as we did last year: exactly $0. Doing our part to help the retail stores as we always do.









Change Congress


Related Posts