VectorLinux

The nuts and bolts => Technical General => Topic started by: orasis on September 21, 2007, 02:42:55 pm

Title: Services?
Post by: orasis on September 21, 2007, 02:42:55 pm
Is there anywhere on this site a list of 'Services' which I can turn off and on at will?

I have been tinkering with --- service firewall stop/start - same with 'sshd' -- what other services can I turn on and off in this fashion? :)
Title: Re: Services?
Post by: nightflier on September 21, 2007, 02:51:46 pm
vasm has lots of goodies, including control over services.

To get you started, try: vasm > super > service > srvset
Title: Re: Services?
Post by: lagagnon on September 21, 2007, 04:10:27 pm
One of the reasons VL is a bit faster than some other distros is that by default it loads only minimal services at default - only those necessary to run  a workstation effectively. You can check all process running on your machine with the command "ps aux". The first 25 or so processes are kernel processes, denoted by the command [xxx] . The next few down the list (e.g. /usr/sbin/syslogd), if fact, anything there ending in a "d" - indicates a daemon service that can be turned on and off.

You are advised to keep syslogd, klogd, crond, inetd and ifplugd running. If you don't do printing you can turn off cupsd. If you don't communicate between Windows and Linux machines using Samba you can turn off smbd and nmbd.

You can turn these services on and off easily using Programs, VASM, SERVICE, SRVSET, 4, and turn on and off whatever you want there. Turning stuff off does decrease boot and shutdown times (probably by a second or two) and decreases RAM usage.

Title: Re: Services?
Post by: Joe1962 on September 21, 2007, 04:18:53 pm
Interesting, I have always deactivated inetd, ever since first reading what it is supposed to do (a few years ago). Any reason to use it on a desktop machine?
Title: Re: Services?
Post by: The Headacher on September 21, 2007, 06:10:49 pm
Quote
I have always deactivated inetd, ever since first reading what it is supposed to do (a few years ago). Any reason to use it on a desktop machine?
I can't make heads or tails out of "man inetd". I can see why you wouldn't use ifplugd on a desktop system though.

Title: Re: Services?
Post by: GrannyGeek on September 21, 2007, 07:01:53 pm
I always turn off inetd and haven't noticed a loss of anything.
--GrannyGeek
Title: Re: Services?
Post by: lagagnon on September 21, 2007, 10:29:13 pm
After a bit of reading I do believe Joe1962 and Granny Geek are correct - inetd is not required for a workstation as its primary function is to: "listen on all ports used by internet services such as FTP, POP3, and telnet. When a TCP packet or UDP packet comes in with a particular port number, inetd launches the appropriate server program to handle the connection."

Obviously such is not required by a casual home user workstation, however, inetd can act as a first pass firewall because it will effectively block access to ports as long as those ports are closed implicitly in its /etc/inetd.conf config file. I would say though, that the VL firewall is probably a much more effective service for doing that sort of thing.
Title: Re: Services?
Post by: orasis on September 22, 2007, 05:10:51 am
Thanks this was very informative and although VASM is a very useful tool... I always prefer to get my hands dirty - until I break something, that is the way I learn - breaking things...  ;D

As for INETD however - it was never enabled by default on my system - I am using VL GOLD 5.8.