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!):
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.
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 |
| 1 | 2 | 6 | 120 | 2,009 |
/Bofcusm/2064.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