- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: Disabling service
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2005 11:56 PM
тАО04-24-2005 11:56 PM
Hi there!
I want to disable some of the services as follows
echo time nfs snmp mysql http and as per my knowledge, the
entry should be added for these with allow/deny with host address.
But I could not find such file in /var/adm but in /usr/newconfig/var/adm.
What should be the action taken? Can entry be added in /usr/newconfig/var/adm
where I find inetd.sec file?
Immediate response would be appreciated.
Regards
Mehul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 04:29 AM
тАО04-25-2005 04:29 AM
Re: Disabling service
Editing inetd.sec won't *disable* the service, it will simply block certain IPs from accessing the service. If you want to disable the services you should edit /etc/inetd.conf and comment out the relevant services and then restart inetd using 'inetd -c'
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 06:15 PM
тАО04-25-2005 06:15 PM
Re: Disabling service
nfs snmp mysql http
pl, guide me
Regards
mehul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 07:40 PM
тАО04-25-2005 07:40 PM
Re: Disabling service
inetd daemon reads the /etc/inetd.conf during bootup to start network services.
you can check if the services are running by
ps -ef |grep -e snmp -e bind -e http -e sql
and then find out which script has started the service and can disable / remove the script which started the service.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 09:10 PM
тАО04-25-2005 09:10 PM
Re: Disabling service
Waiting for reply
Mehul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 09:42 PM
тАО04-25-2005 09:42 PM
Solutionvi /etc/services
#rem services you want
#echo 7/tcp # Echo
#echo 7/udp #
discard 9/tcp sink null # Discard
discard 9/udp sink null #
systat 11/tcp users # Active Users
#daytime 13/tcp # Daytime
#daytime 13/udp #
qotd 17/tcp quote # Quote of the Day
chargen 19/tcp ttytst source # Character Generator
chargen 19/udp ttytst source #
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
telnet 23/tcp # Virtual Terminal Protocol
smtp 25/tcp # Simple Mail Transfer Protocol
time 37/tcp timeserver # Time
time 37/udp timeserver #
rlp 39/udp resource # Resource Location Protocol
whois 43/tcp nicname # Who Is
domain 53/tcp nameserver # Domain Name Service
domain 53/udp nameserver #
bootps 67/udp # Bootstrap Protocol Server
bootpc 68/udp # Bootstrap Protocol Client
tftp 69/udp # Trivial File Transfer Protocol
rje 77/tcp netrjs # private RJE Service
finger 79/tcp # Finger
:wq!
then save and exit
#inetd -c
all rem services will be disable.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 02:44 AM
тАО04-26-2005 02:44 AM
Re: Disabling service
First stop the application with the appropriate start/stop script:
# /sbin/init.d/nfs.client stop
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.core stop
# /sbin/init.d/mysql stop
(or some very similar script)
# /sbin/init.d/apache stop
(or whatever script controls apache)
do the same for all SNMP* scripts as there are several.
Once you have them all stopped, modify their configuration files in /etc/rc.config.d and set the variables in the file to a value of 0 (zero) so that they will not start automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2005 03:22 PM
тАО04-26-2005 03:22 PM
Re: Disabling service
NFS, MySQL, SNMP, Apache must all be stopped via their start/stop scripts in /sbin/init.d and configuration files in /etc/rc.config.d
NFS, MySQL, SNMP, Apache is not controled by inetd.