Operating System - HP-UX
1833493 Members
2772 Online
110052 Solutions
New Discussion

Disabling XDM remote logins

 
SOLVED
Go to solution
Paul Mezzanini
Advisor

Disabling XDM remote logins

Hey guys. I need to disable XDM remote logins to my workstations while leaving X Console logins enabled. I can't seem to figure it out. What is the magic line to do this?

Thx
-paul
3 REPLIES 3
Tony Contratto
Respected Contributor
Solution

Re: Disabling XDM remote logins

Hi Paul,

The file you are looking for is Xaccess. The default file is in /usr/dt/config/ but as noted in the comments at the top of the file you should first copy it to /etc/dt/config before making changes. After you copy the file, edit it and you should find two lines that are not commented out. One line will have just a "*" on the line and the other will have "* CHOOSER BROADCAST". Comment both of the lines out and then do:

# /sbin/init.d/dtlogin.rc stop
# /sbin/init.d/dtlogin.rc start

--
Tony
got root?
Tony Contratto
Respected Contributor

Re: Disabling XDM remote logins

One more note...

On an 11.0 box here, those are the only two lines in the default file that are not comments and just doing a "touch Xaccess" in the /etc/dt/config directory will also disable the remote access. But then you will lose all the nice comments and documentation in the file.

--
Tony
got root?
Paul Mezzanini
Advisor

Re: Disabling XDM remote logins

sweet... I thought it was something like that but I didn't have the shell file in the /usr location so I didn't have any of the neat comments etc.

I'm just going to touch all my boxes and it should work great.

Thx!