- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disabling Services
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
03-26-2007 11:29 PM
03-26-2007 11:29 PM
Disabling Services
Although I disable some services like "echo" & "finger" command, by commented out '#' in /etc/inetd.conf file and then inetd -c to refresh, but when I type echo and finger I got the result back!
# finger ahmed
Login name: ahmed
Directory: /home/ahmed Shell: /usr/bin/sh
Last login Tue Mar 27 11:16 on pts/ta
New mail received Tue Nov 9 11:30:33 2004;
unread since Thu Mar 15 22:12:53 2007
No Plan.
# echo hello
hello
please help,
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 11:40 PM
03-26-2007 11:40 PM
Re: Disabling Services
I believe finger will always work on the localhost, unless to remove/permission protect the executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 11:48 PM
03-26-2007 11:48 PM
Re: Disabling Services
Finger can also be used to list users on a remote machine. The format for user_name is user_name@host. If user_name is not specified, the remote system (HP-UX or non-HP-UX) uses its default standard format for listing user information
Try finger @your-hostname (from another host and see the result).
It is recommended to disbale these services because of the security vulnerabilities involved. You can get information from remote systems if it is not disabled.
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2007 12:21 AM
03-27-2007 12:21 AM
Re: Disabling Services
you could use tcp wrappers to disable the command. I use wrappers to disable telnet, for example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2007 12:24 AM
03-27-2007 12:24 AM
Re: Disabling Services
Go to /etc/inetd.conf
Comment all the services which you want to stop from UDP/TCP.
Onces you do that you have to run
inetd -c so that i will re-read the config file otherwise this changes will not get affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2007 04:23 PM
03-27-2007 04:23 PM
Re: Disabling Services
Ahmed