Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you disable XDMCP on solaris 10

Status
Not open for further replies.

dandan123

Technical User
Sep 9, 2005
505
US
Just built a new box and the security team tells me I need to disable XDMCP, I've checked /etc/dt/config/Xaccess and it has -

# Xaccess - disable all XDMCP connections
!*


What else do I need to do ?
 

I believe this will also work in S10... I have a doc on this from long time ago, I think from Sun, but it refered to a bug in s8 and s9, however, theses files still exist in the same location in S10, so it should work. I think the bug was fixed in newer versions of S9, but this can also be used to lock down a system as you intend to do, not necessarily what the bug was initially about.


# /usr/dt/bin/dtconfig -d

and then stop the currently running dtlogin:

# /usr/dt/bin/dtconfig -kill

If XDMCP remote session access to a machine is not required at all, but graphical login access for the console and/or Sun Ray devices is required, dtlogin(1X) can be configured to not listen for XDMCP connections by editing the "/etc/dt/config/Xconfig file" and removing the "#" symbol at the beginning of the following line:

# Dtlogin.requestPort 0

If the "/etc/dt/config/Xconfig" file does not exist, create it by doing the following:

# mkdir -p /etc/dt/config
# cp /usr/dt/config/Xconfig /etc/dt/config
# /etc/init.d/dtlogin reset

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top