- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restrict login per user ID
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
Forums
Discussions
Discussions
Discussions
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
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
11-03-2007 10:51 PM
11-03-2007 10:51 PM
Vi /etc/default/security
Add the following line and save the file.
NUMBER_OF_LOGINS_ALLOWED=2
Chmod 644 /etc/default/security (put the permission like this)
But the problem is still user can login more than 2 session at a time as a matter of fact it It is still unlimited. Do I miss some things ?
Please help me regarding this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 12:39 AM
11-04-2007 12:39 AM
Re: Restrict login per user ID
Are you using telnet/ssh/rlogin ....
check if you have this patch
PHCO_33758 or PHCO_27694
Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 03:45 PM
11-04-2007 03:45 PM
Re: Restrict login per user ID
Thanks for your mail we are using ssh for remote login.
Patch PHCO_27694 is install but PHCO_33758 is not install.
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 04:11 PM
11-04-2007 04:11 PM
SolutionFor ssh to acknowledge the NUMBER_OF_LOGINS_ALLOWED parameter,
it is necessary to modify the /opt/ssh/etc/sshd_config file to
set "UseLogin yes". This step requires the following patch:
PHCO_27694 s700_800 11.11 login(1) cumulative patch
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 05:00 PM
11-04-2007 05:00 PM
Re: Restrict login per user ID
Required patch is installed in the server and i have changed the /opt/ssh/etc/sshd_config file to
set "UseLogin yes".
but still the result is same, user can login unlimited session.
Please let me further to resolve this issue
Robin
Th swlist -l patch PHCO_27694
# Initializing...
# Contacting target "blbiltst"...
#
# Target: blbiltst:/
#
# PHCO_27694 1.0 login(1) cumulative patch
# PHCO_27694.UX-CORE 1.0 OS-Core.UX-CORE applied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 06:54 PM
11-04-2007 06:54 PM
Re: Restrict login per user ID
For your information when I use telnet instead of ssh for remote login then it works according to â WKâ I have change some entry in /opt/ssh/etc/sshd_config to
â UseLogin yesâ but still it is not working.
I believe some things more must configure in ssh then it might work.
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 07:16 PM
11-04-2007 07:16 PM
Re: Restrict login per user ID
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
;)
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2007 09:02 PM
11-04-2007 09:02 PM
Re: Restrict login per user ID
Robin