1834604 Members
3757 Online
110069 Solutions
New Discussion

rlogin

 
zafar.rizvi
Advisor

rlogin

Hi all
I am using HP-UX 11.11(untrusted mode), these machines are in the Cluster and in cluster we required rlogin facility, but i want that user does't access any rlogin service and only specified hosts will be allowed to use login facility, I checked host.allow and host.deny or host.equiv. file not exits and in .rhosts file does't contain any information to deny ip rlogin request. How can i deny rlogin facility from all ip except few as requierd, for this which files i need to modify and start stop the services.

kindly give any idea.
3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: rlogin

No need to edit any files manually.

Start SAM. Go to "Networking and Communications" -> "System Access" -> "Internet Services". Select "login", then pick from the menu "Actions" -> "Modify..."

Change the mode to "Selected-Allowed" and you can enter the IP addresses and/or networks you want to allow rlogin from. All others will be denied.

These settings will be saved to /var/adm/inetd.sec. It's a HP-specific facility that offers functionality that is somewhat similar to common UNIX tcpwrapper (/etc/hosts.allow, /etc/hosts.deny). HP-UX does not have tcpwrapper by default, it has this inetd.sec facility instead. See "man inetd.sec" for more information.

MK
MK
zafar.rizvi
Advisor

Re: rlogin

tx

Before your answer i tried with man inetd.conf and implement accordingly and its working fine.

But Anyways thanks alot for your response.
zafar.rizvi
Advisor

Re: rlogin

i have found the answer and self study solution.