Operating System - HP-UX
1826592 Members
3872 Online
109695 Solutions
New Discussion

Using sub-login feature of login

 
Paul Wahner
Advisor

Using sub-login feature of login

I'm trying to implement the procedures described in the document: S1100003443 - Sys Adm: Using sub-login feature of login(1)on HPUX 11.00

When I try to test it I get kicked off immediately with the message "Connection closed by foreign host."

I'm trying to do this on a 11.11 system. Can I do that? Is there something else beside the script I have to do?

Thanks!
Paul
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Using sub-login feature of login

Looks like a firewall is shutting you down.

Could be between you and the host, or on the host, ipfilter.

Other possibilities /var/adm/inetd.sec

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paul Wahner
Advisor

Re: Using sub-login feature of login

Don't have a firewall. I can login as a normal user between systems and the only entry in inetd.sec is "dtspc allow"
RAC_1
Honored Contributor

Re: Using sub-login feature of login

What exactly are you doing?? Which user id you use??

Anil
There is no substitute to HARDWORK
Paul Wahner
Advisor

Re: Using sub-login feature of login

At this point I'm just trying to test the concepts of the document I mentioned by telneting to the host from another system and logging in as the user I created for this purpose. Ultimately my goal is to duplicate a setup I had on my 10.20 systems where users would dialin to a chroot'ed environment strickly for the purpose of pulling canned data. I can't use any other methods because I have a closed network.

Paul
Henk Geurts
Esteemed Contributor

Re: Using sub-login feature of login

Paul

On the server you try to connect to, edit
/var/adm/inetd.sec
add
telnet allow

then
# inetd -c

And retry..
Let me know.
regards
Paul Wahner
Advisor

Re: Using sub-login feature of login

Henk,
Made the change you suggested but still no joy. I can telnet to the server from any other system as any other user with no problems. When I telnet to the system and try to login as the user created with the sub-login then I get the "Connection closed by foreign host." message. I also tried copying inetd.sec with the telnet allow into the var directory created by the script but this didn't help either.

Thanks.
Henk Geurts
Esteemed Contributor

Re: Using sub-login feature of login

Paul
all items i found using Google for the use of sub-login all relate only to ftp.
it looks like a no-go using telnet.....

regards..

PS if your mentioned doc is on the net can you pass the url ??
Paul Wahner
Advisor

Re: Using sub-login feature of login