LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-07-2007, 09:48 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
login control


we use limits.conf to control the max no. of user login , users are only allow 2 login at the same time , now if I want when the user attempt to login the third session , then the system will prompt to ask the user kill the previous session or not , can advise what can i do ? thx
 
Old 11-11-2007, 06:05 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ust View Post
when the user attempt to login the third session , then the system will prompt to ask the user kill the previous session or not
AFAIK you can't do that because that kind of interaction would require a working login (interaction). Maybe if you explain the situation (what app users are connecting to, why two sessions, why sessions hang) somebody will be able to post suggestions that match your case.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
control ftp login in openldap sunhui Linux - Security 0 10-30-2006 03:25 AM
Control ftp login in openldap sunhui Linux - Networking 0 10-18-2006 10:28 PM
Login Control sunhui Linux - Software 2 02-22-2006 05:14 AM
SSHD : control login attempts Ben2210 Linux - Security 0 02-07-2005 05:31 AM
remotely control/login to system without forwarded 20-22 fibbi Linux - Software 2 10-20-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration