Operating System - Linux
1753962 Members
7376 Online
108811 Solutions
New Discussion юеВ

Re: preventing users from logging in as root from X emulator

 
Shayne Gallagher
Occasional Contributor

preventing users from logging in as root from X emulator

We are using Exceed and logging in with /usr/bin/X11/xterm. I have created an /etc/securetty file with only console. I have tried creating /etc/dt/config/Xsession.d/0001.noroot. Any other ideas? This is HP-UX 11.00.
2 REPLIES 2
Anthony Goonetilleke
Esteemed Contributor

Re: preventing users from logging in as root from X emulator

This should prevent root access via telnet you might want to turn on logging of telnet via inetd and get rid of all rhosts entries
Also if you edit inetd.sec and allow only the machines you want to log in it would be a bit more secure.
Minimum effort maximum output!
Junior C.
Frequent Advisor

Re: preventing users from logging in as root from X emulator

Shayne,

To prevent users from loging as root from X emulator.
Copy Xstartup from /usr/dt/config to /etc
Modify Xstartup to prevent users from loging as root.

Junior Callender