HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to control the number of log sessions fro a us...
Operating System - HP-UX
1834126
Members
2399
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-12-2005 07:46 AM
05-12-2005 07:46 AM
On hp-ux 11i, if a user is already logged on, how can I prevent the user from logging again?
In other word, is there a way to set the maximum logs for a user?
Thanks advance.
In other word, is there a way to set the maximum logs for a user?
Thanks advance.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 07:53 AM
05-12-2005 07:53 AM
Solution
Create the file /etc/default/security and in that file add a line like:
NUMBER_OF_LOGINS_ALLOWED=?
Where ? is the number of logins you want each user to have. If you just want 1 then:
NUMBER_OF_LOGINS_ALLOWED=1
Do a 'man security' for more details.
NUMBER_OF_LOGINS_ALLOWED=?
Where ? is the number of logins you want each user to have. If you just want 1 then:
NUMBER_OF_LOGINS_ALLOWED=1
Do a 'man security' for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 07:59 AM
05-12-2005 07:59 AM
Re: How to control the number of log sessions fro a user
Thank you.
One more question:
Can I set different numbers for different users? For example, Some users need 2 logs, some users need 1 log.
One more question:
Can I set different numbers for different users? For example, Some users need 2 logs, some users need 1 log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 08:06 AM
05-12-2005 08:06 AM
Re: How to control the number of log sessions fro a user
No, not with the /etc/default/security file.
If you need different numbers for different users you would have to check with /etc/profile or the users ~/.profile.
If you need different numbers for different users you would have to check with /etc/profile or the users ~/.profile.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP