From owner-freebsd-questions Thu Mar 12 13:39:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03557 for freebsd-questions-outgoing; Thu, 12 Mar 1998 13:39:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.netcetera.dk (root@sleipner.netcetera.dk [194.192.207.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03533 for ; Thu, 12 Mar 1998 13:39:09 -0800 (PST) (envelope-from leifn@image.dk) Received: (from uucp@localhost) by mail.netcetera.dk (8.8.8/8.8.8) with UUCP id WAA25437 for freebsd-questions@freebsd.org; Thu, 12 Mar 1998 22:35:45 +0100 Received: by swimsuit.swimsuit.roskildebc.dk (0.99.970109) id AA01660; 12 Mar 98 22:36:45 +0100 From: leifn@image.dk (Leif Neland) Date: 12 Mar 98 20:59:09 +0100 Subject: disallowing multiple logins? Message-ID: Organization: Fidonet: Swimsuit Safari. Go for it. To: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12 Mar 98 18:56:58 Mark Castillo wrote regarding disallowing multiple logins? MC> How do you disable a user from logging in from multiple telnets? MC> I would like to limit users to just one simultaneous login MC> session. Cook a script in /etc/profile, which checks if the same loginname is present on another tty. Either kill this one or the other. If you are nice, ask the user which one. The second login could be a mistake, or the first one could hang, so the second login might be allowable... Leif Neland leifn@image.dk --- |Fidonet: Leif Neland 2:234/49 |Internet: leifn@image.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message