[plug] Limiting the Number of Logins by Username

Anthony J. Breeds-Taurima tony at cantech.net.au
Wed Jun 12 14:22:13 WST 2002


On Wed, 12 Jun 2002, Mark Sasse wrote:

> Hi All,
> 
> I was wondering if anyone could point me in the right direction.  Is it 
> possible to limit the amount of logins by username?  (e.g. root can 
> login once)  If the amount of logins has been exceeded, a message could 
> be displayed saying something about the maximum number of logins has 
> been reached?

You should be able to use pam_limits for that.  Never done it tho.


Yours Tony

Jan 22-26 2003      Linux.Conf.AU       http://conf.linux.org.au/
         The Australian Linux Technical Conference!



More information about the plug mailing list