Operating System - HP-UX
1832978 Members
2879 Online
110048 Solutions
New Discussion

Re: User access limitation trough telnet

 

User access limitation trough telnet

I have an HP9000 D370 with HPUX 10.20, this
server runs applications in Informix and also has a sendmail service running.

At this time we have a problem because the system limits the user access to 56.

This message appears frequently in the syslog

telnetd[7105]: Cannot allocate pty

Please give some recommendation to solve this problem
The technology is a way to have a better life
7 REPLIES 7
baiju_3
Esteemed Contributor

Re: User access limitation trough telnet

Hoping your system is 11.X

You need to increase the value of npty and rebuild the kernel . You can use sam to do the changes.

to see the current npty setting use

kmtune |grep npty

Thanks,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )

Re: User access limitation trough telnet

Hi lalb

We have HPUX 10.20 and did the kernel changes
but the problem continues.

Do you know some HPUX PATCH that maybe will
solve some HPUX 10.20 sam bug related with this problem?


Alexander
The technology is a way to have a better life
baiju_3
Esteemed Contributor

Re: User access limitation trough telnet

Please refer below links

http://docs.hp.com/en/939/KCParms/KCparam.Npty.html
http://docs.hp.com/en/939/KCParms/KCparam.NstrPty.html

Also do

cd /dev

insf -e


Please post the below command o/p


sysdef |grep npty

Thanks,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Devender Khatana
Honored Contributor

Re: User access limitation trough telnet

Hi,

As per the message the device files are not allocated for telnet sessions. You need to check three kernel parameters to check for this.

npty,nstrpty & nsrtel.

HTH,
Devender
Impossible itself mentions "I m possible"
Bill Hassell
Honored Contributor

Re: User access limitation trough telnet

You must increase 3 parameters in 10.20 (and 11.00 and 11.11):

npty
nstrtel
nstrpty

Now, if you do not use SAM to make the changes, you must also run insf to install the device files for the new limits. SAM does this automatically.


Bill Hassell, sysadmin

Re: User access limitation trough telnet

Thanks for all, we solved the problem.

The SAM didn´t create the device files and we had to create them manually using the "insf" command and indicating how many
additional device files.

Best Regards,

Alexander

The technology is a way to have a better life

Re: User access limitation trough telnet

Thanks for all, we solved the problem.

The SAM didn´t create the device files and we had to create them manually using the "insf" command and indicating how many
additional device files.

Best Regards,

Alexander
The technology is a way to have a better life