Operating System - HP-UX
1849354 Members
6357 Online
104042 Solutions
New Discussion

Re: HP-UX security settings

 
SOLVED
Go to solution
Murat SULUHAN
Honored Contributor

HP-UX security settings

Hi

I am using HP-ux 11.0 and 11i.

How can I restrict telnet/ssh/XWindow login prompts and r* commands for some ip adress

Best Regards
Murat
Murat Suluhan
3 REPLIES 3
Artyom Voronchihin
Respected Contributor
Solution

Re: HP-UX security settings

Hello!
man inetd.sec(4).
For example put follownig string to /var/adm/inetd.sec to allow telnet from appointed IP adresses.
telnet allow 192.168.0.1 192.168.0.10 .... and so on.
Also you can make changes in this file using SAM (goto Network and Communications - System Access - Internet Services).
"Intel inside" is not a label, it's a warning.
Alex Glennie
Honored Contributor

Re: HP-UX security settings

c) Xwindows access is usually done via /usr/dt/config/Xaccess file .... documentation/syntax is within the file.
Maz_2
Advisor

Re: HP-UX security settings

As you can see there are numerous ways of restricting access, for example:
- inetd.sec
All of the internet services controlled by inetd (including telnet
and rlogin) have their access controlled by the security file
/var/adm/inetd.sec. To restrict or allow particular access, specifically list the service to be restricted, denied, or allowed. Then list specific IP addresses for individual hosts or use network addresses to deny or allow entire networks. Check the man pages on inetd.sec for more information on the
format of the file. The following is an example that will allow everything on
the 15.56 subnet and the single host 192.13.12.1 to telnet in.
Telnet sessions from all other hosts will be denied: telnet allow 15.56.* 192.13.12.1


Hope this helps!