well, you can compose some script to do that , here's the algorithm :
the script should be called everytime a user logs in (i.e. /etc/profile )

LOGIN:
- user logs in ( calls the script )
- script : checks with /usr/bin/who and greps the user's account used.
- script : if the account exist more that once , then goto VIOLATE
- script : exit ; proceed normal login.

VIOLATE:
- script : sends a message to the account with the longest time logged in.
- script : echo 'User already logged in...logging out'
- script : call 'logout'

** i hope this algo helps ; ) chow

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
--
m  i  c  h  a  e  l   v  i  n  c  e  n  t   p  o  z  o  n
          ::  [EMAIL PROTECTED]  ::
---------------------------------------------------------------
HPS Software & Communication Corp.     ICQ : 1413343
Pilipino Internet Cebu              office : (+63)(32) 3447847
Systems/Network Administrator       home   : (+63)(32) 3446427
- - - - - - - - - - - - - - - - - - cell   : (+63) 917-3276966
 - - - - - - - - - - - - - - - - -  http://mikevince.tripod.com


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

Reply via email to