You may allow those users only one connection.
 If you have Redhat Linux .. you must insert in :
    /etc/pam.d/login
session    required     /lib/security/pam_limits.so
 and must add in  /etc/security/limits.conf :
@users          -       maxlogin        1
( "@" is for groups.. if you want for a specified user user within @ like 
john    -       maxlogins       1
* fol all users but 0 uid
you'll find a help for this in /etc/security/limits.conf
 
***************************************************************
** Murgoci Ionut - SysAdm, Computer HighSchool "Gr. Moisil"   *  
**          City : IASI               Country :  Romania      *
**                E-mail  :  [EMAIL PROTECTED]             *
*************************************************************** 

On Sun, 9 Apr 2000 [EMAIL PROTECTED] wrote:

> Hello,
> 
> We have many servers such as Web server, Mail Server, Proxy 
> server etc all running in Linux system. When a user logs on into 
> our server, then i need that another person using the same 
> username and password should not be allowed to log on into the 
> system. How can I do this?
> 
> It will be better if the same user has already logged on then display 
> the WARNING message telling another person using the same 
> username has logged on. 
> 
> I need help.
> 
> Regards,
> Thakur Gyawali
> -====---====---====---====---====---====---====---====---====---====---====-
>  to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
>  See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
> 




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to