Page 1 of 1
How to start en stop service in gentoox
Posted: Sun Aug 08, 2004 10:20 pm
Well this is my first time using linux. And i am wondering if there is a menu in gentoox to show all the service that are running on the xbox. While searching on the internet it seems redhad have such menu.
I know there is a standard service manager which can run very fine. It has a service called Alarm Deamon etc. But in this manager i cant see services like samba, proftpd. The ones that startup. I want to disable programs for security reasons.
For example i want to disable these services in a nice menu, just like the windows services manager. (cause i dont know how to do it in console , list en kill services)
Other question: what is the command for listing all the services in the command prompt in linux?
Btw: found out webmin can do the job, but wondering how i can do it in gentoox. without webmin
Hope someone can tell this how to do this.
Posted: Sun Aug 08, 2004 10:47 pm
On unix systems services are called daemons. To list the current running daemons
to stop a daemon (e.g. samba)
you can also use start restart and occasionally reload depending on what you are doing. To make a daemon run on startup.
to stop a daemon from running on startupmore info here
Posted: Mon Aug 09, 2004 12:21 pm
Thx, this helps me a lot. Its working now. I am gonna read that handbook-link u quoted in ur post.
Posted: Tue Aug 10, 2004 5:26 pm
also of use are the commands
Posted: Wed Aug 11, 2004 11:10 am
Well i just found what i wanted
But from some services i dont know what its for and which services i can disable without running into problems, fails etc, while booting linux.
rc-update gives me the following:
dcron [ started ]
fanctl [ started ]
gpm [ started ]
local [ started ]
net.eth0 [ started ]
netmount [ started ]
sysklogd [ started ]
rc-update show gives me this:
Xbox root # rc-update show
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
dcron | default nonetwork
fanctl | default nonetwork
gpm | default nonetwork
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.eth0 | default nonetwork
net.lo | boot
netmount | default nonetwork
proftpd | default nonetwork
rmnologin | boot
samba | default nonetwork
serial | boot
sshd | default nonetwork
sysklogd | default nonetwork
urandom | boot
webmin | default nonetwork
I think that these services are used for the main linux booting process. Hoping someone can tell me something about these services.
I want the system very secure. So services that wont be used can be disabled. I would like to know which services cant be bedisabled. Maybe some users of this forum has nice tips for me. (for example secure ssh for users etc.) Everything is welcome.
Thx in advance
Posted: Wed Aug 11, 2004 8:34 pm
yes, I would like to learn more about this as well. I will be trying to run Half-Life on Gentoox through wine, so i would love to learn to disable all of the services that i would not need. I'm going to google these services.
Posted: Thu Aug 12, 2004 5:09 pm
dcron is the cron daemon, a cron daemon runs scheduled jobs (a bit like the task scheduler in windows)
fanctl controls the speed of the fan based on the system temperature to stop the xbox from overheating
gpm is the program that let's you use your mouse in the console
local is a script that starts stuff listed in /etc/conf.d/local.start when the xbox loads
net.eth0 is your network connection
netmount has something to do with the network
syslogd is the system logging daemon, it's responsible for recording all that goes on on your system.
These are the bare essentials for your system (except for gpm).