Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all, I've a server with a common login (with "common" I mean several users use the same login). What I want to forbid is a "second" login from the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    1

    Forbid >2 login from the same IP


    Hello all,

    I've a server with a common login (with "common" I mean several users use the same login). What I want to forbid is a "second" login from the same IP address.

    I'm not talking about wrong logins attempts or anything related to that.

    I mean:

    Jane, IP: 111.111.111.111 -> Logins ok to my server.

    Jane's brother, IP: 111.111.111.111 -> tries to login in server, but he can't.

    Is this possible?

    Cheers

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Posts
    83
    What kind of logins are you talking about? Web site sessions? FTP? SSH? Or (${deities} forfend!) telnet?

    I'm asking this (apart from common logins not exactly being a security best practice) because the network stack doesn't have a concept of "logins" but services do. I mean you'll unlikely "solve" this with say a wee bit of iptables magic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •