Operating System - HP-UX
1753582 Members
6349 Online
108796 Solutions
New Discussion

Re: How to set the max no of users that can telnet to a server

 
Kuntal Gupta
Frequent Advisor

How to set the max no of users that can telnet to a server

Hi all,

In my Server:

uera1>kcusage nstrtel
Tunable Usage / Setting
=============================================
nstrtel 240 / 1000
uera1>kcusage npty
Tunable Usage / Setting
=============================================
npty 0 / 60
uera1>kcusage nstrpty
Tunable Usage / Setting
=============================================
nstrpty 0 / 60

uera1>ll /dev/pts |wc -l
2001
uera1>

So would you pls clarify the following:

1) Max no of users that can telnet to this server.

2) If the no need to be increased what should I do?

3) role of nstrtel, npty and nstrpty towards determening the max no of users login by telnet. FYI now almost 240 user are already logged in by telnet and npty and nstrpty both set to 60.

Regards...

Kuntal
2 REPLIES 2
Kapil Jha
Honored Contributor

Re: How to set the max no of users that can telnet to a server

1) Max no of users that can telnet to this server.
>nstrtel â specifies the number of telnet device files the kernel can support for incoming telnet sessions

http://docs.hp.com/en/B3921-90010/nstrtel.5.html

So u can have 1000 telnet users.
240 is the usage currently.

2)If the no need to be increased what should I do?
Shutdown the telnet and start to use ssh :)
telnet is vulnerable.

3) role of nstrtel, npty and nstrpty
read below man pages
http://docs.hp.com/en/B3921-90010/npty.5.html
http://docs.hp.com/en/B3921-90010/nstrpty.5.html
http://docs.hp.com/en/B3921-90010/nstrtel.5.html

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Dennis Handly
Acclaimed Contributor

Re: How to set the max no of users that can telnet to a server

Instead of creating multiple threads on the same topic, it would have been better to continue in your previous thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1443643