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.
How to start en stop service in gentoox
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
On unix systems services are called daemons. To list the current running daemonsandto 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
Code: Select all
rc-status
Code: Select all
rc-update show
Code: Select all
/etc/init.d/samba stop
Code: Select all
rc-update add samba default
Code: Select all
rc-update del samba
If you keep an open mind, will your brain fall out?
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
also of use are the commandsand
Code: Select all
top
Code: Select all
ps aux
If you keep an open mind, will your brain fall out?
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
alsasound |
alsasound.old |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dcron | default nonetwork
domainname |
esound |
fam |
fanctl | default nonetwork
fbset |
freevo-record |
freevo-web |
gpm | default nonetwork
hdparm |
hostname | boot
hotplug |
inetd |
keymaps | boot
lisa |
local | default nonetwork
localmount | boot
modules | boot
net.eth0 | default nonetwork
net.lo | boot
net.ppp0 |
netmount | default nonetwork
nscd |
numlock |
portmap |
proftpd | default nonetwork
reslisa |
rmnologin | boot
rsyncd |
samba | default nonetwork
serial | boot
sshd | default nonetwork
switch |
synclient |
sysklogd | default nonetwork
urandom | boot
webmin | default nonetwork
winbind |
wlan |
xdm |
xfs |
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
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
alsasound |
alsasound.old |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dcron | default nonetwork
domainname |
esound |
fam |
fanctl | default nonetwork
fbset |
freevo-record |
freevo-web |
gpm | default nonetwork
hdparm |
hostname | boot
hotplug |
inetd |
keymaps | boot
lisa |
local | default nonetwork
localmount | boot
modules | boot
net.eth0 | default nonetwork
net.lo | boot
net.ppp0 |
netmount | default nonetwork
nscd |
numlock |
portmap |
proftpd | default nonetwork
reslisa |
rmnologin | boot
rsyncd |
samba | default nonetwork
serial | boot
sshd | default nonetwork
switch |
synclient |
sysklogd | default nonetwork
urandom | boot
webmin | default nonetwork
winbind |
wlan |
xdm |
xfs |
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
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
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).
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).
If you keep an open mind, will your brain fall out?