- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SMTP-Turn It OFF?
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
Discussions
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
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
08-31-2004 05:55 AM
08-31-2004 05:55 AM
I am asked to satisfy an audit request to turn off SMTP and Finger. How do I do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 06:01 AM
08-31-2004 06:01 AM
SolutionTo turn-off sendmail running as a daemon, do
/sbin/init.d/sendmail stop and then edit /etc/rc.config.d/mailservs and make export SENDMAIL_SERVER=0. Make sure you don't have a sendmail process running ( ps -ef|grep sendmail). With it you will not be able to receive mail on the box unless it is internal.
To turn-off finger, edit /etc/inetd.conf and comment out the line that starts with finger. It's a good idea to look at other lines and comment them out if you don't use them. For ex., tftp, ntalk, ident etc., Once the editing is done, refresh inetd configuration using the command 'inetd -c'.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 06:02 AM
08-31-2004 06:02 AM
Re: SMTP-Turn It OFF?
1. /sbin/init.d/sendmail stop
2. Edit /etc/rc.config.d/mailservs
3. Set SENDMAIL_SERVER=0
4. Save and quit
finger server:
1. Edit /etc/inetd.conf
2. Comment finger entry (Put # in front of it)
3. Save and quit
4. inetd -c
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 04:01 PM
08-31-2004 04:01 PM
Re: SMTP-Turn It OFF?
You need to comment out the smtp port 25 in your /etc/services too.
Thanks
Pratyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2004 09:15 PM
08-31-2004 09:15 PM
Re: SMTP-Turn It OFF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:14 AM
09-01-2004 02:14 AM
Re: SMTP-Turn It OFF?
finger will always work on the local host - unless you remove the binary...
/usr/bin/finger
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:30 AM
09-01-2004 02:30 AM
Re: SMTP-Turn It OFF?
Just make sure you set SENDMAIL_SERVER=0 in the /etc/rc.config.d/mailservs file so it won't start at boottime.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 02:51 AM
09-01-2004 02:51 AM
Re: SMTP-Turn It OFF?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:00 AM
09-01-2004 03:00 AM
Re: SMTP-Turn It OFF?
/etc/services is just a lookup file so the system can put a name on a service.
Although in a few cases it can stop a service from responding. It all depends on how the service is coded. If the code *requires* a services entry then commenting it out can halt the service. But not all do that.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:05 AM
09-01-2004 03:05 AM
Re: SMTP-Turn It OFF?
/etc/services is a mere lookup file for service to port. Most of the programs have been designed to get their port information from /etc/services (getservent) than having the port hardcoded in the code. So, uncommenting it in services is an extra measure.
inetd is responsible for listening at this port for fingered. If 'finger' is not present in /etc/services will cause inetd to give out the error "unknown service". But turning off finger in inetd.conf is the sureway to disable finger.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 03:22 AM - last edited on 09-16-2024 02:09 AM by support_s
09-01-2004 03:22 AM - last edited on 09-16-2024 02:09 AM by support_s
Re: SMTP-Turn It OFF?
- Tags:
- virtualization