Limit logins on a group of machines?
Stephen
cryptworks at gmail.com
Wed Jun 17 15:44:43 MST 2009
this is kind of where an LDAP server comes in to play, then you cna
restrict number of concurrent logins across the network.
On Wed, Jun 17, 2009 at 10:58 AM, Bill Jonas<bill at billjonas.com> wrote:
> Hi all,
>
> I was wondering if anybody might point me in the right direction here.
> I know that for limiting concurrent logins on a *single* machine,
> you can set "maxlogins" in /etc/security/limits.conf.
>
> However, this is only good for that single system. Suppose you have
> three machines (foo, bar, and baz), and you wish to restrict the number
> of total logins across all three servers. For example, you wish to
> specify that a user may only log in once, total, on this set of systems.
>
> I've searched Google with very little luck. Most of the results are
> either about limits.conf, limiting concurrent logins on a Windows
> domain (yes, even with search terms of 'linux limit concurrent network
> logins' and the like), or are otherwise irrelevant.
>
> Can anyone provide any clues, point me in the right direction, or at
> least let me know I'll have to hack something together with finger,
> rwho, and/or a custom PAM module? :)
>
> Thanks!
>
> --
> Bill Jonas * bill at billjonas.com * http://www.billjonas.com/
> "It's a dangerous business, Frodo, going out your front door. You step
> into the Road, and if you don't keep your feet, there is no knowing
> where you might be swept off to." -- Bilbo Baggins
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.
Stephen
More information about the PLUG-discuss
mailing list