Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 17:42:44 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Kjell <kmidtset@c2i.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Limit on logins
Message-ID:  <20011217174244.L724@k7.mavetju.org>
In-Reply-To: <20011217063811.EAB958317@mail.broadpark.no>; from kmidtset@c2i.net on Mon, Dec 17, 2001 at 06:38:12AM %2B0100
References:  <20011217063811.EAB958317@mail.broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 17, 2001 at 06:38:12AM +0100, Kjell wrote:
> List members!
> I would like to limit the number of logins for a user to one.
> That is, when a user logs in to his account he should not be able to log in 
> to the same account from another terminal or via telnet over the network.
> Possible?

Checkout login.conf (and its manual page), and search for sessionlimit:
     sessionlimit      number              Maximum number of concurrent login
					   sessions on ttys in any group.


Edwin
-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217174244.L724>