LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-23-2004, 01:28 AM   #1
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Rep: Reputation: 30
Shutting down SMB?


I want to shutdown SMB services but it says Failed to shutdown smb when I click on the Stop button under Services in MCC.

I will not use Samba. My machine is just a standalone. Is there way to shutdown this so it wont have any dangerous ports opened?
 
Old 08-23-2004, 01:57 AM   #2
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Then why not just uninstall the samba daemon?
 
Old 08-23-2004, 10:49 AM   #3
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
How do I do that??? Please explain. Im kinda new at this.
 
Old 08-23-2004, 11:55 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To shutdown the Samba service, you will have to be root.
Open a console (Terminal) window and, at the command line, type the following:
Code:
su -
service smb stop
service nmb stop
chkconfig --level 35 smb off
chkconfig --level 35 nmb off
To un-install Samba, at the command line, login as root (by using the su command)
Code:
rpm -qa | grep -i samba
This will output a list of Samba packages, copy the names and append them to the following command:
Code:
rpm -e packages
For example:
Code:
rpm -e samba-2.2.8a-139
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
SMB: More then one Windows user/ smb account? 1veedo Linux - Networking 2 03-15-2005 04:16 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM
Shutting down SMB Service failed rbanonuevo Linux - Networking 1 01-28-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration