Re: Starting Samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2003-11-20 at 15:16, Bob Mclaughlin wrote:
> On Wed, 2003-11-19 at 23:29, Iain Buchanan wrote:
> > On Thu, 2003-11-20 at 14:54, Bob Mclaughlin wrote:
> > .  How can one stop and start Samba from the command
> > > line?

> Thanks Iain.  I have been trying the 'service smb restart' command 
> and the computer gives me a 'bash: service: command not found'
> error message.  I think I've got some corruption.  Oh well, I'm sure the
> other commands will work and smb is running.

Not at all:
$ which service
/sbin/service

So the answer is most likely you don't have /sbin in your path.
$ echo $PATH

to find out.  In my ~/.bash_profile:
PATH=$PATH:/sbin:/usr/sbin

Then you can easily type something like
$ sudo service smb restart

HTH,
-- 
Iain Buchanan <iain@xxxxxxxxxxxxxxxxxxx>

I haven't lost my mind -- it's backed up on tape somewhere.


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux