Unix administration - Changing ports for portmapper

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2004 > Changing ports for portmapper





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Changing ports for portmapper
Pat Julien

2004-02-10, 1:35 am

Is there a way on a Solaris box to change the port sadmind listens on?
We tried rpcinfo and the port changes but doesn't listen on the new
port. Is there another utility to do this? Since there are a number
of sadmin vulnerabilities we'd like to change from 32772 to another
port.

If not what about within AdminSuite?

TIA
Pat Julien
Barry Margolin

2004-02-10, 4:35 am

In article <cac993b7.0402100656.5a201f@posting.google.com>,
pljulienne@yahoo.com (Pat Julien) wrote:

> Is there a way on a Solaris box to change the port sadmind listens on?
> We tried rpcinfo and the port changes but doesn't listen on the new
> port. Is there another utility to do this? Since there are a number
> of sadmin vulnerabilities we'd like to change from 32772 to another
> port.
>
> If not what about within AdminSuite?


The portmapper doesn't control the ports that are used, it's just a
directory service. The server selects a port (usually by letting the OS
grab an unused port) and tells the portmapper about it, so that clients
can ask the portmapper what port is being used.

Unless sadmind provides an option to force it to listen on a specific
port, there's nothing you can do about it.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com