Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: druuhl on June 11, 2014, 03:06:04 PM

Title: Deactivate Modules
Post by: druuhl on June 11, 2014, 03:06:04 PM
Hi,

is it possible to deactivate some Modules, like Samba, Cups and else without breaking some dependencies

regards
Stefan
Title: Re: Deactivate Modules
Post by: Stefano on June 11, 2014, 05:47:15 PM
hi

first of all explain your problem and not your solution
then, please take a look to http://wiki.contribs.org/Db_command_tutorial
hint status disabled
Title: Re: Deactivate Modules
Post by: CharlieBrady on June 11, 2014, 06:48:01 PM
is it possible to deactivate some Modules, like Samba, Cups and else without breaking some dependencies

SME server does not include cups.

Most services can be disabled via the configuration database, without affecting other services. Some services, however, are critical for operation, include syslog, httpd-e-smith and httpd-admin.

What are you trying to achieve? What problem are you trying to solve?
Title: Re: Deactivate Modules
Post by: stephdl on June 12, 2014, 08:15:53 AM
@druuhl you can use sme8admin or sme9admin to deactivate service, or db command if you rather want. But indeed you are right charlie, i'm curious to know what is your goal.

I want to take an idea you spoke charlie, when you formulate about the syslog service. Nethserver has done that to avoid this problem. https://github.com/nethesis/nethserver-lib/commit/337804409a2cf12af4cb88e2d32a4fec0e535ccb. Of course I have not too much advices on it but I'm curious of yours.

In the meanwhile I read this http://lists.contribs.org/pipermail/devinfo/2014-May/012443.html
Title: Re: Deactivate Modules
Post by: druuhl on June 12, 2014, 11:31:18 AM
Thank for your nswers, i would try this.

My Goal is to disable not needed services. Every Service is Security risk and not needed services are not needed security problems, thats all. In my case i need only the mailserver, easy to use for People without deep Linux Knowhow.
SME look for me like a out of the box solution for my problem, please note im testing it in the moment.

regards
Stefan
Title: Re: Deactivate Modules
Post by: Stefano on June 12, 2014, 01:52:19 PM
services as samba are security risk only if you setup your server as a "simple" server (not server and gateway) and give a public ip to it.. the same for the other services..
so, again. you should explain us what are you aiming to/trying to do instead of shutting down services..
Title: Re: Deactivate Modules
Post by: druuhl on June 12, 2014, 02:53:59 PM
The setting server and gateway needs more then one NICs, but im my case i have only one

Title: Re: Deactivate Modules
Post by: Stefano on June 12, 2014, 03:01:31 PM
it's quite normal.. but, I guess, you wish to publish your server with a public ip, don't you?
Title: Re: Deactivate Modules
Post by: CharlieBrady on June 12, 2014, 03:17:52 PM
The setting server and gateway needs more then one NICs, but im my case i have only one

In that case you should use a SOHO router to connect the server to the Internet. Forward only mail related ports from the router to your server.
Title: Re: Deactivate Modules
Post by: druuhl on June 13, 2014, 09:23:33 AM
Code: [Select]
it's quite normal.. but, I guess, you wish to publish your server with a public ip, don't you?
Yes
Title: Re: Deactivate Modules
Post by: Stefano on June 13, 2014, 09:59:14 AM
then you are acting in the wrong way (see Charlie's advice) or using the wrong tool