[Cialug] RH pty #s
L. V. Lammert
lvl at omnitec.net
Wed Jan 25 18:13:06 CST 2012
At 06:01 PM 1/25/2012, you wrote:
>It's not official documentation, but if it's of any use I know that
>PTYs cannot change numbers after they are opened, so when someone
>logs out after you've logged in your PTY number does not go down.
>This is trivial to demonstrate -- just log in a bunch of users (or
>the same user a bunch of times) and then log out all but the last
>session. That last session will still have a high PTY number even
>though the number of open PTYs is much lower.
In this case, the report was that the next login gets a pty number
that is one greater than the max, .. however I tested on SuSE 11.4
and the next login session received the next *available* pty; I will
try and run some tests on the RH system operates differently.
Thanks for the info!
Lee
More information about the Cialug
mailing list