- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Login Session
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:09 PM
тАО04-16-2003 08:09 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 09:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:12 PM
тАО04-16-2003 10:12 PM
Re: Login Session
I can't find the statement "CONFIG_UNIX98_PTY_COUNT" in the files you said, is there other method to change the setting? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:15 PM
тАО04-16-2003 10:15 PM
Re: Login Session
Out of the box, a RedHat system (v7+) is not limited (that I'm aware of) to the number of simultaneous logins.
This could however be achieved with an entry in /etc/security/limits.conf (if 'pam_limits.so' is used in the any of the login procedures).
As for psuedo tty's, assuming it's using /dev/pts/ style of tty's (default on anything over 2.2.16 or some such kernel), they will be dynamically created when required (the kernel defaulting at a maximum of 256 logins, RH ups this to 512).
If you need to up this value, you'll need to re-compile your kernel, tweaking the CONFIG_UNIX98_PTY_COUNT value (up to a maximum of 2048).
Viewing /proc/tty/drivers (the pty_slave value) will show how many are configured, and are in use on the system (see kernel Documentation/filesystems/proc.txt for more details).
If this doesn't answer your question, please be more specific as to your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:36 PM
тАО04-16-2003 10:36 PM
Re: Login Session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:38 PM
тАО04-16-2003 10:38 PM
Re: Login Session
What does the contents of /proc/tty/drivers say?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:54 PM
тАО04-16-2003 10:54 PM
Re: Login Session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 11:01 PM
тАО04-16-2003 11:01 PM
Re: Login Session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 11:04 PM
тАО04-16-2003 11:04 PM
Re: Login Session
" session required /lib/security/pam_limits.so "
Then locate limits.conf file under the /etc/security directory and change "maxlogins" options in the default policy.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 11:08 PM
тАО04-16-2003 11:08 PM
Re: Login Session
The CONFIG_... line is in part of the kernel config file. You only need to increase it if you really want to use more than 256 PTY-s.
G.