- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to disable and enable rlogin and CDE
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
10-13-2004 05:15 PM
10-13-2004 05:15 PM
I want disbale rlogin and CDE login fron specify IP or subnet on HPUX 11i.
Pls tell me how?
Thank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 05:25 PM
10-13-2004 05:25 PM
Solutionrlogin can be easily disabled using /var/adm/inetd.sec file. Just specify the IP addresses/subnets that you want to allow. You will need to use 'login' as that is the service that allows rlogin. If you want to disable, remsh, rexec, then add 'shell' and 'exec' also. Examples are there in the file itself.
For CDE, I believe you meant X-window emulations. For that you will need to configure /etc/dt/config/Xaccess (copy one from /usr/dt/config directory) and add the lines like
!remotesys.yourdomian.com
!subdomain.yourdomain.com
to disallow access for remotesys and all the systems from subdomain.yourdomain.com domain. It shoudl have some examples already. Reset dtconfig to refresh this configuration '/usr/dt/bin/dtconfig -reset'
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 05:27 PM
10-13-2004 05:27 PM
Re: how to disable and enable rlogin and CDE
For inetd.sec file, you will need to refresh inetd configuration using 'inetd -c' command to make the changes into effect.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 02:32 AM
10-14-2004 02:32 AM
Re: how to disable and enable rlogin and CDE
#/sbin/init.d/dtlogin.rc stop
#vi /etc/rc.config.d/desktop
DESKTOP=""
2. you may restrict CDE to selected hosts:
#vi /etc/dt/config/Xaccess
host1
host2
*.domain.com
!*
#/sbin/init.d/dtlogin.rc reset
3. you may prevent direct root login via CDE
#vi /etc/dt/config/Xstartup (or cp from /usr/dt...)
(add folowing at the end of file)
if [ $(id-u ) = 0 ]; then
exit 1
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 02:45 AM
10-14-2004 02:45 AM
Re: how to disable and enable rlogin and CDE
than define /etc/hosts.allow - to determine if the client is explicitly allowed access if no than /etc/hosts.deny to determine if client is explicitly denied access
Sample:
#/etc/hosts.deny
ALL :ALL - allow all hosts access all services
for more info see
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=TCPWRAP