From: brian@aljex.com (Brian K. White) Subject: Re: Installing Samba Date: 11 Mar 2003 19:24:35 -0800 References: <e6a2e802.0303060722.1b71686@posting.google.com>
<pan.2003.03.06.18.37.27.169066.8893@mytemyke.com>
<e6a2e802.0303062009.10406185@posting.google.com>
<b68h6v0jgu5bsjdigfvnja9abn8vi649a7@4ax.com>
<e6a2e802.0303071850.367524d2@posting.google.com>
<b4cbdb$pc7$1@pcls4.std.com>
<e6a2e802.0303110545.4d6b6c6e@posting.google.com> rwebster@btmsolutions.com (ricky) wrote in message news:<e6a2e802.0303110545.4d6b6c6e@posting.google.com>... > tony@aplawrence.com wrote in message news:<b4cbdb$pc7$1@pcls4.std.com>... > > ricky <rwebster@btmsolutions.com> wrote: > > > > : Ok thanks for the help guys. I start that install on monday morning. > > : I downloaded a lot of other into a /usr/local/samba directory and want > > : to delete that directory. However if I do a rmdir /directoty/name it > > : comes back that the directory is not empty. Is there anyway to make > > : it delete everything in that directory even though it is not empty. > > : Or do I have to delete all the contents of every folder and then do a > > : rmdir? Thanks again. > > > > Wrong command. > > > > rm -r /usr/local/samba > > > > See http://aplawrence.com/newtounix.html > > > > -- > > tony@aplawrence.com Unix/Linux resources: http://aplawrence.com > > Inexpensive phone/email support > > Download Free SCO Skills Test: http://pcunix.com/skilltests.html > > Well things are going much better now. I got it installed and ran the > setup program that asked me my workgroup name and so forth and that > created my smb.conf file. Now if I go directly to the directory where > smbd and nmbd are I can start them with ./nmbd ./smbd -D. Well I was > wondering why if Itype in smb stop or smb start it tells me that smbd > is not found? Also how do I go about getting this setup to administer > this via a web browser, i have heard several people talking about it. > Thanks. Who ever said to do that?
run: /etc/init.d/samba enable to set up the rc script so that samba gets started along with everything else at every boot. after that (or any time you want) you can also run: /etc/init.d/samba start to start it up now (no need to reboot), and /etc/init.d/samba stop to shut it down if for some reason you want to. To enable SWAT: add this line to /etc/services: swat 901/tcp # Samba Web Administration Tool
add this line to /etc/inetd.conf: swat stream tcp nowait root /usr/local/samba/sbin/swat swat run: /etc/tcp stop /etc/tcp start now swat is enabled. to use it point a web browser to http://unixbox:901/ where "unixbox" could be "localhost" or "127.0.0.1" if you were using netscape in X right on the console (hit Alt-F2, if it's just an ordinary text login then you can flip back to whatever terminal you were using, Alt-F1 or whatever, and run "scologin enable" then try Alt-F2 again, or just run "startx") or you could just as easily use any pc on the lan and "unixbox" is whatever the unix box's ip is.
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.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar