How to disable services ?
I would like to know how would i disable service which helps mounting of removable devices automatically?
I dont want to disable mounting but i would like to disable automatic mounting of devices. I would like to do this as security major on one of our production server. |
I think autofs service is responsible to automatic mounting of devices.
Thanks |
It depends on what you are using for the automounting. Some possibilities are autofs, gnome-volume-manager, pmount etc. So you need to find out what is mounting the devices and then you can work out how to disable it.
Evo2. |
What version of linux are you using?
|
My distribution details.
Quote:
Quote:
|
I do have autofs service in my distribution.
Will this command enough ? Quote:
|
I don't use chkconfig, but I understand that that it can be used to disable services on some OSs. I can only suggest that you check the man page to make sure you have the syntax correct and then try it.
Evo2. |
Quote:
|
To disable auto-loading of the ISCI device driver, add the following line to the /etc/modprobe.conf file:
alias drivername off For example alias sym53c8xx off |
Hi,
Quote:
Quote:
:hattip: |
All times are GMT -5. The time now is 10:35 PM. |